Package com.anthropic.models
Class ModelListPage
-
- All Implemented Interfaces:
public final class ModelListPageList available models.
The Models API response can be used to determine which models are available for use in the API. More recently released models are listed first.
-
-
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<ModelInfo>data()final Optional<Boolean>hasMore()final Optional<String>firstId()final Optional<String>lastId()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)
-
-
-
-