Class ServiceAccountWorkspaceMember
-
- All Implemented Interfaces:
public final class ServiceAccountWorkspaceMember
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classServiceAccountWorkspaceMember.BuilderA builder for ServiceAccountWorkspaceMember.
-
Method Summary
Modifier and Type Method Description final Optional<String>createdByActorId()Tagged ID ( user_.../svac_...) of the actor who created this membership.final Optional<Boolean>implicit()True when this is the implicit default-workspace membership every service account has when no explicit membership exists. final StringserviceAccountId()Tagged service account ID ( svac_...).final StringworkspaceId()Tagged workspace ID ( wrkspc_...).final WorkspaceRoleworkspaceRole()Role of the service account in this workspace. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("service_account_workspace_member")final JsonField<String>_createdByActorId()Returns the raw JSON value of createdByActorId. final JsonField<Boolean>_implicit()Returns the raw JSON value of implicit. final JsonField<String>_serviceAccountId()Returns the raw JSON value of serviceAccountId. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final JsonField<WorkspaceRole>_workspaceRole()Returns the raw JSON value of workspaceRole. final Map<String, JsonValue>_additionalProperties()final ServiceAccountWorkspaceMember.BuildertoBuilder()final ServiceAccountWorkspaceMembervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ServiceAccountWorkspaceMember.Builderbuilder()Returns a mutable builder for constructing an instance of ServiceAccountWorkspaceMember. -
-
Method Detail
-
createdByActorId
final Optional<String> createdByActorId()
Tagged ID (
user_.../svac_...) of the actor who created this membership.
-
implicit
final Optional<Boolean> implicit()
True when this is the implicit default-workspace membership every service account has when no explicit membership exists. Implicit memberships have role
workspace_userand cannot be removed.
-
serviceAccountId
final String serviceAccountId()
Tagged service account ID (
svac_...).
-
workspaceId
final String workspaceId()
Tagged workspace ID (
wrkspc_...).
-
workspaceRole
final WorkspaceRole workspaceRole()
Role of the service account in this workspace. Service accounts cannot hold the
workspace_billingrole.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("service_account_workspace_member")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_createdByActorId
final JsonField<String> _createdByActorId()
Returns the raw JSON value of createdByActorId.
Unlike createdByActorId, this method doesn't throw if the JSON field has an unexpected type.
-
_implicit
final JsonField<Boolean> _implicit()
Returns the raw JSON value of implicit.
Unlike implicit, this method doesn't throw if the JSON field has an unexpected type.
-
_serviceAccountId
final JsonField<String> _serviceAccountId()
Returns the raw JSON value of serviceAccountId.
Unlike serviceAccountId, this method doesn't throw if the JSON field has an unexpected type.
-
_workspaceId
final JsonField<String> _workspaceId()
Returns the raw JSON value of workspaceId.
Unlike workspaceId, this method doesn't throw if the JSON field has an unexpected type.
-
_workspaceRole
final JsonField<WorkspaceRole> _workspaceRole()
Returns the raw JSON value of workspaceRole.
Unlike workspaceRole, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ServiceAccountWorkspaceMember.Builder toBuilder()
-
validate
final ServiceAccountWorkspaceMember validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ServiceAccountWorkspaceMember.Builder builder()
Returns a mutable builder for constructing an instance of ServiceAccountWorkspaceMember.
The following fields are required:
.createdByActorId() .implicit() .serviceAccountId() .workspaceId() .workspaceRole()
-
-
-
-