Class UserCreateParams.Body
-
- All Implemented Interfaces:
public final class UserCreateParams.BodyRequest payload for adding a user to a group.
-
-
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 StringuserId()Identifier of the user to add to the group. 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
-
_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:
.userId()
-
-
-
-