Class SpacePermissionCreate
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.SpacePermissionCreate
SpacePermissionCreate
This object represents a permission for given space. Permissions consist of at least one operation object with an accompanying subjects object. The following combinations of `operation` and `targetType` values are valid for the `operation` object: - 'create': 'page', 'blogpost', 'comment', 'attachment' - 'read': 'space' - 'delete': 'page', 'blogpost', 'comment', 'attachment' - 'export': 'space' - 'administer': 'space'
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BooleanGrant anonymous users permission to use the operation.protected OperationCheckResultAn operation and the target entity that it applies to, e.g.protected Subjects96Eb79The users and/or groups that the permission applies to.protected BooleanGrants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSpacePermissionCreate(Subjects96Eb79 subjects, OperationCheckResult operation, Boolean anonymousAccess, Boolean unlicensedAccess) Constructs a validated instance ofSpacePermissionCreate.Constructs a validated instance ofSpacePermissionCreate. -
Method Summary
Modifier and TypeMethodDescriptionGrant anonymous users permission to use the operation.anonymousAccess(Boolean anonymousAccess) Grant anonymous users permission to use the operation.protected booleanbooleaninthashCode()An operation and the target entity that it applies to, e.g.operation(OperationCheckResult operation) An operation and the target entity that it applies to, e.g.subjects()The users and/or groups that the permission applies to.subjects(Subjects96Eb79 subjects) The users and/or groups that the permission applies to.toString()Grants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation.unlicensedAccess(Boolean unlicensedAccess) Grants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation.
-
Field Details
-
subjects
The users and/or groups that the permission applies to. -
operation
An operation and the target entity that it applies to, e.g. create page. -
anonymousAccess
Grant anonymous users permission to use the operation. -
unlicensedAccess
Grants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation.
-
-
Constructor Details
-
SpacePermissionCreate
Constructs a validated instance ofSpacePermissionCreate.- Parameters:
spec- the specification to process
-
SpacePermissionCreate
@Internal public SpacePermissionCreate(Subjects96Eb79 subjects, OperationCheckResult operation, Boolean anonymousAccess, Boolean unlicensedAccess) Constructs a validated instance ofSpacePermissionCreate.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
SpacePermissionCreate(Consumer)instead.- Parameters:
subjects- The users and/or groups that the permission applies to.operation- An operation and the target entity that it applies to, e.g. create page.anonymousAccess- Grant anonymous users permission to use the operation.unlicensedAccess- Grants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation.
-
SpacePermissionCreate
protected SpacePermissionCreate()
-
-
Method Details
-
subjects
The users and/or groups that the permission applies to. -
operation
An operation and the target entity that it applies to, e.g. create page. -
anonymousAccess
Grant anonymous users permission to use the operation. -
unlicensedAccess
Grants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation. -
subjects
The users and/or groups that the permission applies to.- Returns:
this.
-
operation
An operation and the target entity that it applies to, e.g. create page.- Returns:
this.
-
anonymousAccess
Grant anonymous users permission to use the operation.- Returns:
this.
-
unlicensedAccess
Grants access to unlicensed users from JIRA Service Desk when used with the 'read space' operation.- Returns:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-