Class ModelListPageResponse
-
- All Implemented Interfaces:
public final class ModelListPageResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelListPageResponse.BuilderA builder for ModelListPageResponse.
-
Method Summary
Modifier and Type Method Description final List<ModelInfo>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<ModelInfo>>_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 ModelListPageResponse.BuildertoBuilder()final ModelListPageResponsevalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModelListPageResponse.Builderbuilder()Returns a mutable builder for constructing an instance of ModelListPageResponse. -
-
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<ModelInfo>> _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 ModelListPageResponse.Builder toBuilder()
-
validate
final ModelListPageResponse validate()
-
builder
final static ModelListPageResponse.Builder builder()
Returns a mutable builder for constructing an instance of ModelListPageResponse.
The following fields are required:
.data() .firstId() .hasMore() .lastId()
-
-
-
-