Class Restrictionsa50726
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Restrictionsa50726
Restrictionsa50726
The users/groups that the restrictions will be applied to. At least one of `user` or `group` must be specified for this object.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructs a validated instance ofRestrictionsa50726.Restrictionsa50726(List<UserItem> user, List<GroupIteme9D8Fc> group) Constructs a validated instance ofRestrictionsa50726. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleangroup()The groups that the restrictions will be applied to.group(List<GroupIteme9D8Fc> group) The groups that the restrictions will be applied to.inthashCode()toString()user()The users that the restrictions will be applied to.The users that the restrictions will be applied to.
-
Field Details
-
user
-
group
The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
-
-
Constructor Details
-
Restrictionsa50726
Constructs a validated instance ofRestrictionsa50726.- Parameters:
spec- the specification to process
-
Restrictionsa50726
Constructs a validated instance ofRestrictionsa50726.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Restrictionsa50726(Consumer)instead.- Parameters:
user- The users that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.group- The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.
-
Restrictionsa50726
protected Restrictionsa50726()
-
-
Method Details
-
user
-
group
The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted. -
user
The users that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.- Returns:
this.
-
group
The groups that the restrictions will be applied to. This array must have at least one item, otherwise it should be omitted.- Returns:
this.
-
equals
-
canEqual
-
hashCode
-
toString
-