Package com.anthropic.models
Class MessageBatchResultsParams
-
- All Implemented Interfaces:
-
com.anthropic.core.Params
public final class MessageBatchResultsParams implements Params
Streams the results of a Message Batch as a
.jsonlfile.Each line in the file is a JSON object containing the result of a single request in the Message Batch. Results are not guaranteed to be in the same order as requests. Use the
custom_idfield to match results to requests.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classMessageBatchResultsParams.BuilderA builder for MessageBatchResultsParams.
-
Method Summary
Modifier and Type Method Description final StringmessageBatchId()ID of the Message Batch. 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 StringgetPathParam(Integer index)final MessageBatchResultsParams.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static MessageBatchResultsParams.Builderbuilder()-
-
Method Detail
-
messageBatchId
final String messageBatchId()
ID of the Message Batch.
-
_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.
-
getPathParam
final String getPathParam(Integer index)
-
toBuilder
final MessageBatchResultsParams.Builder toBuilder()
-
builder
final static MessageBatchResultsParams.Builder builder()
-
-
-
-