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
ConstructorsModifierConstructorDescriptionprotectedSpacePermissionCustomContent(PermissionSubject subject, List<OperationsItem> operations) Constructs a validated instance ofSpacePermissionCustomContent.Constructs a validated instance ofSpacePermissionCustomContent. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()operations(List<OperationsItem> operations) subject()The user or group that the permission applies to.subject(PermissionSubject subject) The user or group that the permission applies to.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 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
-
SpacePermissionCustomContent
protected SpacePermissionCustomContent()
-
-
Method Details
-
subject
The user or group that the permission applies to. -
operations
-
subject
The user or group that the permission applies to.- Returns:
this.
-
operations
- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-