Package com.anthropic.models
Class MessageBatchListParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class MessageBatchListParams implements Params
List all Message Batches within a Workspace. Most recently created batches are returned first.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageBatchListParams.BuilderA builder for MessageBatchListParams.
-
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 MessageBatchListParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageBatchListParams.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 MessageBatchListParams.Builder toBuilder()
-
builder
final static MessageBatchListParams.Builder builder()
-
-
-
-