Class OperationsItem
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.OperationsItem
OperationsItem
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.OperationsItem(String key, String target, Boolean access) Constructs a validated instance ofOperationsItem.OperationsItem(Consumer<OperationsItem> spec) Constructs a validated instance ofOperationsItem. -
Method Summary
Modifier and TypeMethodDescriptionaccess()Fluent getter for access.Fluent setter for access.booleanGets the value of access.getKey()Gets the value of key.Gets the value of target.inthashCode()key()Fluent getter for key.Fluent setter for key.voidSets the value of access.voidSets the value of key.voidSets the value of target.target()Fluent getter for target.Fluent setter for target.toString()
-
Field Details
-
key
The operation type -
target
The custom content type -
access
Grant or restrict access
-
-
Constructor Details
-
OperationsItem
Constructs a validated instance ofOperationsItem.- Parameters:
spec- the specification to process
-
OperationsItem
@Internal protected OperationsItem()Protected no-args constructor for use by serialization frameworks. -
OperationsItem
Constructs a validated instance ofOperationsItem.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
OperationsItem(Consumer)instead.- Parameters:
key- The operation typetarget- The custom content typeaccess- Grant or restrict access
-
-
Method Details
-
key
-
key
Fluent setter for key.The operation type
- Parameters:
key- key- Returns:
- this
-
getKey
-
setKey
-
target
-
target
Fluent setter for target.The custom content type
- Parameters:
target- target- Returns:
- this
-
getTarget
-
setTarget
Sets the value of target.The custom content type
- Parameters:
target- target
-
access
-
access
Fluent setter for access.Grant or restrict access
- Parameters:
access- access- Returns:
- this
-
getAccess
-
setAccess
Sets the value of access.Grant or restrict access
- Parameters:
access- access
-
equals
-
hashCode
-
toString
-