Class ApiKeyListPageResponse
-
- All Implemented Interfaces:
public final class ApiKeyListPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classApiKeyListPageResponse.BuilderA builder for ApiKeyListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<ApiKey>data()final Optional<String>firstId()First ID in the datalist.final BooleanhasMore()Indicates if there are more results in the requested page direction. final Optional<String>lastId()Last ID in the datalist.final JsonField<List<ApiKey>>_data()Returns the raw JSON value of data. final JsonField<String>_firstId()Returns the raw JSON value of firstId. final JsonField<Boolean>_hasMore()Returns the raw JSON value of hasMore. final JsonField<String>_lastId()Returns the raw JSON value of lastId. final Map<String, JsonValue>_additionalProperties()final ApiKeyListPageResponse.BuildertoBuilder()final ApiKeyListPageResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ApiKeyListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ApiKeyListPageResponse. -
-
Method Detail
-
firstId
final Optional<String> firstId()
First ID in the
datalist. Can be used as thebefore_idfor the previous page.
-
hasMore
final Boolean hasMore()
Indicates if there are more results in the requested page direction.
-
lastId
final Optional<String> lastId()
Last ID in the
datalist. Can be used as theafter_idfor the next page.
-
_data
final JsonField<List<ApiKey>> _data()
Returns the raw JSON value of data.
Unlike data, this method doesn't throw if the JSON field has an unexpected type.
-
_firstId
final JsonField<String> _firstId()
Returns the raw JSON value of firstId.
Unlike firstId, 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.
-
_lastId
final JsonField<String> _lastId()
Returns the raw JSON value of lastId.
Unlike lastId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ApiKeyListPageResponse.Builder toBuilder()
-
validate
final ApiKeyListPageResponse 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 ApiKeyListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of ApiKeyListPageResponse.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-