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 JsonField<String>_userId()Returns the raw JSON value of userId. 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. final static MemberAddParams.Bodyof(String userId)Returns an immutable instance of Body with the required userId set to the given value. -
-
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 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()
-
of
final static MemberAddParams.Body of(String userId)
-
-
-
-