Class PermissionSubjectWithGroupId
The user or group that the permission applies to.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedProtected no-args constructor for use by serialization frameworks.PermissionSubjectWithGroupId(String type, String identifier) Constructs a validated instance ofPermissionSubjectWithGroupId.Constructs a validated instance ofPermissionSubjectWithGroupId. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the value of identifier.getType()Gets the value of type.inthashCode()Fluent getter for identifier.identifier(String identifier) Fluent setter for identifier.voidsetIdentifier(String identifier) Sets the value of identifier.voidSets the value of type.toString()type()Fluent getter for type.Fluent setter for type.
-
Field Details
-
type
-
identifier
for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the group
-
-
Constructor Details
-
PermissionSubjectWithGroupId
Constructs a validated instance ofPermissionSubjectWithGroupId.- Parameters:
spec- the specification to process
-
PermissionSubjectWithGroupId
@Internal protected PermissionSubjectWithGroupId()Protected no-args constructor for use by serialization frameworks. -
PermissionSubjectWithGroupId
Constructs a validated instance ofPermissionSubjectWithGroupId.NOTE: This constructor is not considered stable and may change if the model is updated. Consider using
PermissionSubjectWithGroupId(Consumer)instead.- Parameters:
type- typeidentifier- for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the group
-
-
Method Details
-
type
-
type
Fluent setter for type.- Parameters:
type- type- Returns:
- this
-
getType
-
setType
-
identifier
Fluent getter for identifier.for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the group
- Returns:
- identifier
-
identifier
Fluent setter for identifier.for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the group
- Parameters:
identifier- identifier- Returns:
- this
-
getIdentifier
Gets the value of identifier.for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the group
- Returns:
- identifier
-
setIdentifier
Sets the value of identifier.for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the group
- Parameters:
identifier- identifier
-
equals
-
hashCode
-
toString
-