Package com.openai.models.models
Class ModelListPage
-
- All Implemented Interfaces:
public final class ModelListPage
Lists 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 class
ModelListPage.Response
public final class
ModelListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final ModelListPage.Response
response()
final List<Model>
data()
final String
object_()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final Boolean
hasNextPage()
final Optional<ModelListParams>
getNextPageParams()
final Optional<ModelListPage>
getNextPage()
final ModelListPage.AutoPager
autoPager()
final static ModelListPage
of(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)
-
-
-
-