Class MemberUpdateParams.Body
-
- All Implemented Interfaces:
public final class MemberUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMemberUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final WorkspaceRoleworkspaceRole()New workspace role for the User. final JsonField<WorkspaceRole>_workspaceRole()Returns the raw JSON value of workspaceRole. final Map<String, JsonValue>_additionalProperties()final MemberUpdateParams.Body.BuildertoBuilder()final MemberUpdateParams.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 MemberUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static MemberUpdateParams.Bodyof(WorkspaceRole workspaceRole)Returns an immutable instance of Body with the required workspaceRole set to the given value. -
-
Method Detail
-
workspaceRole
final WorkspaceRole workspaceRole()
New workspace role for the User.
-
_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 MemberUpdateParams.Body.Builder toBuilder()
-
validate
final MemberUpdateParams.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 MemberUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.workspaceRole()
-
of
final static MemberUpdateParams.Body of(WorkspaceRole workspaceRole)
Returns an immutable instance of Body with the required workspaceRole set to the given value.
-
-
-
-