Class WorkspaceAddParams.Body
-
- All Implemented Interfaces:
public final class WorkspaceAddParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classWorkspaceAddParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringworkspaceId()Tagged workspace ID to add the service account to. final NoBillingWorkspaceRoleworkspaceRole()Role to assign to the service account in this workspace. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final JsonField<NoBillingWorkspaceRole>_workspaceRole()Returns the raw JSON value of workspaceRole. final Map<String, JsonValue>_additionalProperties()final WorkspaceAddParams.Body.BuildertoBuilder()final WorkspaceAddParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static WorkspaceAddParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
workspaceId
final String workspaceId()
Tagged workspace ID to add the service account to.
-
workspaceRole
final NoBillingWorkspaceRole workspaceRole()
Role to assign to the service account in this workspace.
-
_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<NoBillingWorkspaceRole> _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 WorkspaceAddParams.Body.Builder toBuilder()
-
validate
final WorkspaceAddParams.Body 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 WorkspaceAddParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.workspaceId() .workspaceRole()
-
-
-
-