Class MemberAddParams.Body
-
- All Implemented Interfaces:
public final class MemberAddParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMemberAddParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringuserId()ID of the User. final NoBillingWorkspaceRoleworkspaceRole()Role of the new Workspace Member. final JsonField<String>_userId()Returns the raw JSON value of userId. final JsonField<NoBillingWorkspaceRole>_workspaceRole()Returns the raw JSON value of workspaceRole. final Map<String, JsonValue>_additionalProperties()final MemberAddParams.Body.BuildertoBuilder()final MemberAddParams.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 MemberAddParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
workspaceRole
final NoBillingWorkspaceRole workspaceRole()
Role of the new Workspace Member. Cannot be
workspace_billing.
-
_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.
-
_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 MemberAddParams.Body.Builder toBuilder()
-
validate
final MemberAddParams.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 MemberAddParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.userId() .workspaceRole()
-
-
-
-