Class PermissionSubjectWithGroupId
java.lang.Object
io.github.primelib.confluence4j.rest.v1.models.PermissionSubjectWithGroupId
@Generated("io.github.primelib.primecodegen")
public class PermissionSubjectWithGroupId
extends Object
PermissionSubjectWithGroupId
The user or group that the permission applies to.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPermissionSubjectWithGroupId(String type, String identifier) Constructs a validated instance ofPermissionSubjectWithGroupId.Constructs a validated instance ofPermissionSubjectWithGroupId. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleaninthashCode()for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the groupidentifier(String identifier) for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the grouptoString()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
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
-
PermissionSubjectWithGroupId
protected PermissionSubjectWithGroupId()
-
-
Method 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 -
type
- Returns:
this.
-
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:
this.
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-