Package com.openai.models
Class ModelListPageAsync
-
- All Implemented Interfaces:
public final class ModelListPageAsync
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
ModelListPageAsync.Response
public final class
ModelListPageAsync.AutoPager
-
Method Summary
Modifier and Type Method Description final ModelListPageAsync.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 CompletableFuture<Optional<ModelListPageAsync>>
getNextPage()
final ModelListPageAsync.AutoPager
autoPager()
final static ModelListPageAsync
of(ModelServiceAsync modelsService, ModelListParams params, ModelListPageAsync.Response response)
-
-
Method Detail
-
response
final ModelListPageAsync.Response response()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<ModelListParams> getNextPageParams()
-
getNextPage
final CompletableFuture<Optional<ModelListPageAsync>> getNextPage()
-
autoPager
final ModelListPageAsync.AutoPager autoPager()
-
of
final static ModelListPageAsync of(ModelServiceAsync modelsService, ModelListParams params, ModelListPageAsync.Response response)
-
-
-
-