Class Subjects
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.Subjects
Subjects
The users and/or groups that the permission applies to.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Expandableac2380protected Group3997Caprotected Userb34Fc6 -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSubjects()Protected no-args constructor for use by serialization frameworks.Subjects(Userb34Fc6 user, Group3997Ca group, Expandableac2380 additionalExpandable) Constructs a validated instance ofSubjects.Constructs a validated instance ofSubjects. -
Method Summary
Modifier and TypeMethodDescriptionFluent getter for additionalExpandable.additionalExpandable(Expandableac2380 additionalExpandable) Fluent setter for additionalExpandable.booleanGets the value of additionalExpandable.getGroup()Gets the value of group.getUser()Gets the value of user.group()Fluent getter for group.group(Group3997Ca group) Fluent setter for group.inthashCode()voidsetAdditionalExpandable(Expandableac2380 additionalExpandable) Sets the value of additionalExpandable.voidsetGroup(Group3997Ca group) Sets the value of group.voidsetUser(Userb34Fc6 user) Sets the value of user.toString()user()Fluent getter for user.user(Userb34Fc6 user) Fluent setter for user.
-
Field Details
-
user
-
group
-
additionalExpandable
-
-
Constructor Details
-
Subjects
-
Subjects
@Internal protected Subjects()Protected no-args constructor for use by serialization frameworks. -
Subjects
@Internal public Subjects(Userb34Fc6 user, Group3997Ca group, Expandableac2380 additionalExpandable) Constructs a validated instance ofSubjects.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
Subjects(Consumer)instead.- Parameters:
user- usergroup- groupadditionalExpandable- additionalExpandable
-
-
Method Details
-
user
-
user
-
getUser
-
setUser
-
group
-
group
Fluent setter for group.- Parameters:
group- group- Returns:
- this
-
getGroup
-
setGroup
-
additionalExpandable
Fluent getter for additionalExpandable.- Returns:
- additionalExpandable
-
additionalExpandable
Fluent setter for additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable- Returns:
- this
-
getAdditionalExpandable
Gets the value of additionalExpandable.- Returns:
- additionalExpandable
-
setAdditionalExpandable
Sets the value of additionalExpandable.- Parameters:
additionalExpandable- additionalExpandable
-
equals
-
hashCode
-
toString
-