Package com.openai.models
Class ModelListPage
-
- All Implemented Interfaces:
public final class ModelListPageLists the currently available models, and provides basic information about each one such as the owner and availability.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classModelListPage.Responsepublic final classModelListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final ModelListPage.Responseresponse()final List<Model>data()final Stringobject_()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<ModelListParams>getNextPageParams()final Optional<ModelListPage>getNextPage()final ModelListPage.AutoPagerautoPager()final static ModelListPageof(ModelService modelsService, ModelListParams params, ModelListPage.Response response)-
-
Method Detail
-
response
final ModelListPage.Response response()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ModelListParams> getNextPageParams()
-
getNextPage
final Optional<ModelListPage> getNextPage()
-
autoPager
final ModelListPage.AutoPager autoPager()
-
of
final static ModelListPage of(ModelService modelsService, ModelListParams params, ModelListPage.Response response)
-
-
-
-