Class UserCreateResponse
-
- All Implemented Interfaces:
public final class UserCreateResponseConfirmation payload returned after adding a user to a group.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserCreateResponse.BuilderA builder for UserCreateResponse.
-
Method Summary
Modifier and Type Method Description final StringgroupId()Identifier of the group the user was added to. final JsonValue_object_()Always group.user.final StringuserId()Identifier of the user that was added. final JsonField<String>_groupId()Returns the raw JSON value of groupId. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final UserCreateResponse.BuildertoBuilder()final UserCreateResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserCreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of UserCreateResponse. -
-
Method Detail
-
_object_
final JsonValue _object_()
Always
group.user.Expected to always return the following:
JsonValue.from("group.user")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_groupId
final JsonField<String> _groupId()
Returns the raw JSON value of groupId.
Unlike groupId, 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 UserCreateResponse.Builder toBuilder()
-
validate
final UserCreateResponse 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 UserCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of UserCreateResponse.
The following fields are required:
.groupId() .userId()
-
-
-
-