Package com.anthropic.models
Class BetaModelListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class BetaModelListParams implements Params
List 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 classBetaModelListParams.BuilderA builder for BetaModelListParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>afterId()ID of the object to use as a cursor for pagination. final Optional<String>beforeId()ID of the object to use as a cursor for pagination. final Optional<Long>limit()Number of items to return per page. final Headers_additionalHeaders()final QueryParams_additionalQueryParams()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. final BetaModelListParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaModelListParams.Builderbuilder()-
-
Method Detail
-
afterId
final Optional<String> afterId()
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately after this object.
-
beforeId
final Optional<String> beforeId()
ID of the object to use as a cursor for pagination. When provided, returns the page of results immediately before this object.
-
limit
final Optional<Long> limit()
Number of items to return per page.
Defaults to
20. Ranges from1to1000.
-
_additionalHeaders
final Headers _additionalHeaders()
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
toBuilder
final BetaModelListParams.Builder toBuilder()
-
builder
final static BetaModelListParams.Builder builder()
-
-
-
-