Class BetaWorkspaceMember
-
- All Implemented Interfaces:
public final class BetaWorkspaceMember
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaWorkspaceMember.BuilderA builder for BetaWorkspaceMember.
-
Method Summary
Modifier and Type Method Description final StringuserId()ID of the User. final StringworkspaceId()ID of the Workspace. final BetaWorkspaceRoleworkspaceRole()Role of the Workspace Member. final JsonValue_type()Object type. final JsonField<String>_userId()Returns the raw JSON value of userId. final JsonField<String>_workspaceId()Returns the raw JSON value of workspaceId. final JsonField<BetaWorkspaceRole>_workspaceRole()Returns the raw JSON value of workspaceRole. final Map<String, JsonValue>_additionalProperties()final BetaWorkspaceMember.BuildertoBuilder()final BetaWorkspaceMembervalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaWorkspaceMember.Builderbuilder()Returns a mutable builder for constructing an instance of BetaWorkspaceMember. -
-
Method Detail
-
workspaceId
final String workspaceId()
ID of the Workspace.
-
workspaceRole
final BetaWorkspaceRole workspaceRole()
Role of the Workspace Member.
-
_type
final JsonValue _type()
Object type.
For Workspace Members, this is always
"workspace_member".Expected to always return the following:
JsonValue.from("workspace_member")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, 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<BetaWorkspaceRole> _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 BetaWorkspaceMember.Builder toBuilder()
-
validate
final BetaWorkspaceMember 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 BetaWorkspaceMember.Builder builder()
Returns a mutable builder for constructing an instance of BetaWorkspaceMember.
The following fields are required:
.userId() .workspaceId() .workspaceRole()
-
-
-
-