Class RoleCreateResponse
-
- All Implemented Interfaces:
public final class RoleCreateResponseRole assignment linking a group to a role.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleCreateResponse.BuilderA builder for RoleCreateResponse.
public final classRoleCreateResponse.GroupSummary information about a group returned in role assignment responses.
-
Method Summary
Modifier and Type Method Description final RoleCreateResponse.Groupgroup()Summary information about a group returned in role assignment responses. final JsonValue_object_()Always group.role.final Rolerole()Details about a role that can be assigned through the public Roles API. final JsonField<RoleCreateResponse.Group>_group()Returns the raw JSON value of group. final JsonField<Role>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final RoleCreateResponse.BuildertoBuilder()final RoleCreateResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RoleCreateResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RoleCreateResponse. -
-
Method Detail
-
group
final RoleCreateResponse.Group group()
Summary information about a group returned in role assignment responses.
-
_object_
final JsonValue _object_()
Always
group.role.Expected to always return the following:
JsonValue.from("group.role")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_group
final JsonField<RoleCreateResponse.Group> _group()
Returns the raw JSON value of group.
Unlike group, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<Role> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RoleCreateResponse.Builder toBuilder()
-
validate
final RoleCreateResponse 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 RoleCreateResponse.Builder builder()
Returns a mutable builder for constructing an instance of RoleCreateResponse.
The following fields are required:
.group() .role()
-
-
-
-