Class WorkspaceMember.Builder
-
- All Implemented Interfaces:
public final class WorkspaceMember.BuilderA builder for WorkspaceMember.
-
-
Method Summary
-
-
Method Detail
-
type
final WorkspaceMember.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("workspace_member")This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final WorkspaceMember.Builder userId(String userId)
ID of the User.
-
userId
final WorkspaceMember.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceId
final WorkspaceMember.Builder workspaceId(String workspaceId)
ID of the Workspace.
-
workspaceId
final WorkspaceMember.Builder workspaceId(JsonField<String> workspaceId)
Sets Builder.workspaceId to an arbitrary JSON value.
You should usually call Builder.workspaceId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
workspaceRole
final WorkspaceMember.Builder workspaceRole(WorkspaceRole workspaceRole)
Role of the Workspace Member.
-
workspaceRole
final WorkspaceMember.Builder workspaceRole(JsonField<WorkspaceRole> workspaceRole)
Sets Builder.workspaceRole to an arbitrary JSON value.
You should usually call Builder.workspaceRole with a well-typed WorkspaceRole value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final WorkspaceMember.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final WorkspaceMember.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final WorkspaceMember.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final WorkspaceMember.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final WorkspaceMember.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final WorkspaceMember build()
Returns an immutable instance of WorkspaceMember.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.userId() .workspaceId() .workspaceRole()
-
-
-
-