Class RoleCreateParams.Body
-
- All Implemented Interfaces:
public final class RoleCreateParams.BodyRequest payload for assigning a role to a group or user.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final StringroleId()Identifier of the role to assign. final JsonField<String>_roleId()Returns the raw JSON value of roleId. final Map<String, JsonValue>_additionalProperties()final RoleCreateParams.Body.BuildertoBuilder()final RoleCreateParams.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 RoleCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
_roleId
final JsonField<String> _roleId()
Returns the raw JSON value of roleId.
Unlike roleId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RoleCreateParams.Body.Builder toBuilder()
-
validate
final RoleCreateParams.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 RoleCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.roleId()
-
-
-
-