Class SpacePermissionCustomContent
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.SpacePermissionCustomContent
@Generated("io.github.primelib.primecodegen")
public class SpacePermissionCustomContent
extends Object
SpacePermissionCustomContent
This object represents a list of space permissions for custom content type for an individual user. Permissions consist of a subjects object and a list with at least one operation object.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<OperationsItem> protected PermissionSubjectThe user or group that the permission applies to. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.SpacePermissionCustomContent(PermissionSubject subject, List<OperationsItem> operations) Constructs a validated instance ofSpacePermissionCustomContent.Constructs a validated instance ofSpacePermissionCustomContent. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of operations.Gets the value of subject.inthashCode()Fluent getter for operations.operations(List<OperationsItem> operations) Fluent setter for operations.voidsetOperations(List<OperationsItem> operations) Sets the value of operations.voidsetSubject(PermissionSubject subject) Sets the value of subject.subject()Fluent getter for subject.subject(PermissionSubject subject) Fluent setter for subject.toString()
-
Field Details
-
subject
The user or group that the permission applies to. -
operations
-
-
Constructor Details
-
SpacePermissionCustomContent
Constructs a validated instance ofSpacePermissionCustomContent.- Parameters:
spec- the specification to process
-
SpacePermissionCustomContent
@Internal protected SpacePermissionCustomContent()Protected no-args constructor for use by serialization frameworks. -
SpacePermissionCustomContent
@Internal public SpacePermissionCustomContent(PermissionSubject subject, List<OperationsItem> operations) Constructs a validated instance ofSpacePermissionCustomContent.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
SpacePermissionCustomContent(Consumer)instead.- Parameters:
subject- The user or group that the permission applies to.operations- operations
-
-
Method Details
-
subject
Fluent getter for subject.The user or group that the permission applies to.
- Returns:
- subject
-
subject
Fluent setter for subject.The user or group that the permission applies to.
- Parameters:
subject- subject- Returns:
- this
-
getSubject
Gets the value of subject.The user or group that the permission applies to.
- Returns:
- subject
-
setSubject
Sets the value of subject.The user or group that the permission applies to.
- Parameters:
subject- subject
-
operations
-
operations
Fluent setter for operations.- Parameters:
operations- operations- Returns:
- this
-
getOperations
-
setOperations
Sets the value of operations.- Parameters:
operations- operations
-
equals
-
hashCode
-
toString
-