Class GroupListPageResponse
-
- All Implemented Interfaces:
public final class GroupListPageResponsePaginated list of groups that have access to a project.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classGroupListPageResponse.BuilderA builder for GroupListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<ProjectGroup>data()Project group memberships returned in the current page. final BooleanhasMore()Whether additional project group memberships are available. final Optional<String>next()Cursor to fetch the next page of results, or nullwhen there are no more results.final JsonValue_object_()Always list.final JsonField<List<ProjectGroup>>_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 GroupListPageResponse.BuildertoBuilder()final GroupListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static GroupListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of GroupListPageResponse. -
-
Method Detail
-
data
final List<ProjectGroup> data()
Project group memberships returned in the current page.
-
next
final Optional<String> next()
Cursor to fetch the next page of results, or
nullwhen there are no more results.
-
_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<ProjectGroup>> _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 GroupListPageResponse.Builder toBuilder()
-
validate
final GroupListPageResponse 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 GroupListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of GroupListPageResponse.
The following fields are required:
.data() .hasMore() .next()
-
-
-
-