Package com.openai.models.models
Class ModelListPageAsync
-
- All Implemented Interfaces:
public final class ModelListPageAsync
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelListPageAsync.BuilderA builder for ModelListPageAsync.
public final classModelListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final List<Model>data()Delegates to ModelListPageResponse, but gracefully handles missing data. final JsonValueobject_()final BooleanhasNextPage()final Optional<ModelListParams>getNextPageParams()final CompletableFuture<Optional<ModelListPageAsync>>getNextPage()final ModelListPageAsync.AutoPagerautoPager()final ModelListParamsparams()The parameters that were used to request this page. final ModelListPageResponseresponse()The response that this page was parsed from. final ModelListPageAsync.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ModelListPageAsync.Builderbuilder()Returns a mutable builder for constructing an instance of ModelListPageAsync. -
-
Method Detail
-
data
final List<Model> data()
Delegates to ModelListPageResponse, but gracefully handles missing data.
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ModelListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<ModelListPageAsync>> getNextPage()
-
autoPager
final ModelListPageAsync.AutoPager autoPager()
-
params
final ModelListParams params()
The parameters that were used to request this page.
-
response
final ModelListPageResponse response()
The response that this page was parsed from.
-
toBuilder
final ModelListPageAsync.Builder toBuilder()
-
builder
final static ModelListPageAsync.Builder builder()
Returns a mutable builder for constructing an instance of ModelListPageAsync.
The following fields are required:
.service() .params() .response()
-
-
-
-