Class AddContentRestriction
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.AddContentRestriction
AddContentRestriction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe restriction operation applied to content.protected Restrictionsa50726The users/groups that the restrictions will be applied to. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAddContentRestriction(String operation, Restrictionsa50726 restrictions) Constructs a validated instance ofAddContentRestriction.Constructs a validated instance ofAddContentRestriction. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()The restriction operation applied to content.The restriction operation applied to content.The users/groups that the restrictions will be applied to.restrictions(Restrictionsa50726 restrictions) The users/groups that the restrictions will be applied to.toString()
-
Field Details
-
operation
The restriction operation applied to content. -
restrictions
The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.
-
-
Constructor Details
-
AddContentRestriction
Constructs a validated instance ofAddContentRestriction.- Parameters:
spec- the specification to process
-
AddContentRestriction
Constructs a validated instance ofAddContentRestriction.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
AddContentRestriction(Consumer)instead.- Parameters:
operation- The restriction operation applied to content.restrictions- The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.
-
AddContentRestriction
protected AddContentRestriction()
-
-
Method Details
-
operation
The restriction operation applied to content. -
restrictions
The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object. -
operation
The restriction operation applied to content.- Returns:
this.
-
restrictions
The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-