Class RoleListPageResponse
-
- All Implemented Interfaces:
public final class RoleListPageResponsePaginated list of roles assigned to a principal.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classRoleListPageResponse.BuilderA builder for RoleListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<RoleListResponse>data()Role assignments returned in the current page. final BooleanhasMore()Whether additional assignments are available when paginating. final Optional<String>next()Cursor to fetch the next page of results, or nullwhen there are no more assignments.final JsonValue_object_()Always list.final JsonField<List<RoleListResponse>>_data()Returns the raw JSON value of data. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_next()Returns the raw JSON value of next. final Map<String, JsonValue>_additionalProperties()final RoleListPageResponse.BuildertoBuilder()final RoleListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static RoleListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of RoleListPageResponse. -
-
Method Detail
-
data
final List<RoleListResponse> data()
Role assignments returned in the current page.
-
next
final Optional<String> next()
Cursor to fetch the next page of results, or
nullwhen there are no more assignments.
-
_object_
final JsonValue _object_()
Always
list.Expected to always return the following:
JsonValue.from("list")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_data
final JsonField<List<RoleListResponse>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_hasMore
final JsonField<Boolean> _hasMore()
Returns the raw JSON value of hasMore.
Unlike hasMore, this method doesn't throw if the JSON field has an unexpected type.
-
_next
final JsonField<String> _next()
Returns the raw JSON value of next.
Unlike next, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final RoleListPageResponse.Builder toBuilder()
-
validate
final RoleListPageResponse 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 RoleListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of RoleListPageResponse.
The following fields are required:
.data() .hasMore() .next()
-
-
-
-