Class UserListPageResponse
-
- All Implemented Interfaces:
public final class UserListPageResponsePaginated list of user objects returned when inspecting group membership.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classUserListPageResponse.BuilderA builder for UserListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<OrganizationGroupUser>data()Users in the current page. final BooleanhasMore()Whether more users are available when paginating. final Optional<String>next()Cursor to fetch the next page of results, or nullwhen no further users are available.final JsonValue_object_()Always list.final JsonField<List<OrganizationGroupUser>>_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 UserListPageResponse.BuildertoBuilder()final UserListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static UserListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of UserListPageResponse. -
-
Method Detail
-
data
final List<OrganizationGroupUser> data()
Users in the current page.
-
next
final Optional<String> next()
Cursor to fetch the next page of results, or
nullwhen no further users are available.
-
_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<OrganizationGroupUser>> _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 UserListPageResponse.Builder toBuilder()
-
validate
final UserListPageResponse 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 UserListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of UserListPageResponse.
The following fields are required:
.data() .hasMore() .next()
-
-
-
-