Class UserRemoveResponse
-
- All Implemented Interfaces:
public final class UserRemoveResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserRemoveResponse.BuilderA builder for UserRemoveResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the User. final JsonValue_type()Deleted object type. final JsonField<String>_id()Returns the raw JSON value of id. final Map<String, JsonValue>_additionalProperties()final UserRemoveResponse.BuildertoBuilder()final UserRemoveResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserRemoveResponse.Builderbuilder()Returns a mutable builder for constructing an instance of UserRemoveResponse. final static UserRemoveResponseof(String id)Returns an immutable instance of UserRemoveResponse with the required id set to the given value. -
-
Method Detail
-
_type
final JsonValue _type()
Deleted object type.
For Users, this is always
"user_deleted".Expected to always return the following:
JsonValue.from("user_deleted")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final UserRemoveResponse.Builder toBuilder()
-
validate
final UserRemoveResponse 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 UserRemoveResponse.Builder builder()
Returns a mutable builder for constructing an instance of UserRemoveResponse.
The following fields are required:
.id()
-
of
final static UserRemoveResponse of(String id)
Returns an immutable instance of UserRemoveResponse with the required id set to the given value.
-
-
-
-