Class BetaMessageBatchIndividualResponse
-
- All Implemented Interfaces:
public final class BetaMessageBatchIndividualResponseThis is a single line in the response
.jsonlfile and does not represent the response as a whole.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaMessageBatchIndividualResponse.BuilderA builder for BetaMessageBatchIndividualResponse.
-
Method Summary
Modifier and Type Method Description final StringcustomId()Developer-provided ID created for each request in a Message Batch. final BetaMessageBatchResultresult()Processing result for this request. final JsonField<String>_customId()Developer-provided ID created for each request in a Message Batch. final JsonField<BetaMessageBatchResult>_result()Processing result for this request. final Map<String, JsonValue>_additionalProperties()final BetaMessageBatchIndividualResponsevalidate()final BetaMessageBatchIndividualResponse.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaMessageBatchIndividualResponse.Builderbuilder()-
-
Method Detail
-
customId
final String customId()
Developer-provided ID created for each request in a Message Batch. Useful for matching results to requests, as results may be given out of request order.
Must be unique for each request within the Message Batch.
-
result
final BetaMessageBatchResult result()
Processing result for this request.
Contains a Message output if processing was successful, an error response if processing failed, or the reason why processing was not attempted, such as cancellation or expiration.
-
_customId
final JsonField<String> _customId()
Developer-provided ID created for each request in a Message Batch. Useful for matching results to requests, as results may be given out of request order.
Must be unique for each request within the Message Batch.
-
_result
final JsonField<BetaMessageBatchResult> _result()
Processing result for this request.
Contains a Message output if processing was successful, an error response if processing failed, or the reason why processing was not attempted, such as cancellation or expiration.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BetaMessageBatchIndividualResponse validate()
-
toBuilder
final BetaMessageBatchIndividualResponse.Builder toBuilder()
-
builder
final static BetaMessageBatchIndividualResponse.Builder builder()
-
-
-
-