Class OperationCheckResult
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.OperationCheckResult
OperationCheckResult
An operation and the target entity that it applies to, e.g. create page.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedOperationCheckResult(String operation, String targetType) Constructs a validated instance ofOperationCheckResult.Constructs a validated instance ofOperationCheckResult. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()The operation itself.The operation itself.The space or content type that the operation applies to.targetType(String targetType) The space or content type that the operation applies to.toString()
-
Field Details
-
operation
The operation itself. -
targetType
The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
-
-
Constructor Details
-
OperationCheckResult
Constructs a validated instance ofOperationCheckResult.- Parameters:
spec- the specification to process
-
OperationCheckResult
Constructs a validated instance ofOperationCheckResult.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
OperationCheckResult(Consumer)instead.- Parameters:
operation- The operation itself.targetType- The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space
-
OperationCheckResult
protected OperationCheckResult()
-
-
Method Details
-
operation
The operation itself. -
targetType
The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space -
operation
The operation itself.- Returns:
this.
-
targetType
The space or content type that the operation applies to. Could be one of- - application - page - blogpost - comment - attachment - space- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-