Class UserCreateParams.Body
-
- All Implemented Interfaces:
public final class UserCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringrole()ownerormemberfinal Optional<String>email()Email of the user to add. final Optional<String>userId()The ID of the user. final JsonField<String>_role()Returns the raw JSON value of role. final JsonField<String>_email()Returns the raw JSON value of email. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final UserCreateParams.Body.BuildertoBuilder()final UserCreateParams.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 UserCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
_role
final JsonField<String> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_email
final JsonField<String> _email()
Returns the raw JSON value of email.
Unlike email, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UserCreateParams.Body.Builder toBuilder()
-
validate
final UserCreateParams.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 UserCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.role()
-
-
-
-