Package com.anthropic.models
Class BetaModelListPage
-
- All Implemented Interfaces:
public final class BetaModelListPageList 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 classBetaModelListPage.Responsepublic final classBetaModelListPage.AutoPager
-
Method Summary
Modifier and Type Method Description final BetaModelListPage.Responseresponse()final List<BetaModelInfo>data()final Optional<Boolean>hasMore()final Optional<String>firstId()final Optional<String>lastId()Booleanequals(Object other)IntegerhashCode()StringtoString()final BooleanhasNextPage()final Optional<BetaModelListParams>getNextPageParams()final Optional<BetaModelListPage>getNextPage()final BetaModelListPage.AutoPagerautoPager()final static BetaModelListPageof(ModelService modelsService, BetaModelListParams params, BetaModelListPage.Response response)-
-
Method Detail
-
response
final BetaModelListPage.Response response()
-
data
final List<BetaModelInfo> data()
-
hasNextPage
final Boolean hasNextPage()
-
getNextPageParams
final Optional<BetaModelListParams> getNextPageParams()
-
getNextPage
final Optional<BetaModelListPage> getNextPage()
-
autoPager
final BetaModelListPage.AutoPager autoPager()
-
of
final static BetaModelListPage of(ModelService modelsService, BetaModelListParams params, BetaModelListPage.Response response)
-
-
-
-