Class RoleDeleteResponse
-
- All Implemented Interfaces:
public final class RoleDeleteResponseConfirmation payload returned after deleting a role.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleDeleteResponse.BuilderA builder for RoleDeleteResponse.
-
Method Summary
Modifier and Type Method Description final Stringid()Identifier of the deleted role. final Booleandeleted()Whether the role was deleted. final JsonValue_object_()Always role.deleted.final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<Boolean>_deleted()Returns the raw JSON value of deleted. final Map<String, JsonValue>_additionalProperties()final RoleDeleteResponse.BuildertoBuilder()final RoleDeleteResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RoleDeleteResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RoleDeleteResponse. -
-
Method Detail
-
_object_
final JsonValue _object_()
Always
role.deleted.Expected to always return the following:
JsonValue.from("role.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.
-
_deleted
final JsonField<Boolean> _deleted()
Returns the raw JSON value of deleted.
Unlike deleted, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RoleDeleteResponse.Builder toBuilder()
-
validate
final RoleDeleteResponse 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 RoleDeleteResponse.Builder builder()
Returns a mutable builder for constructing an instance of RoleDeleteResponse.
The following fields are required:
.id() .deleted()
-
-
-
-