Class BatchCreateParams.Request
-
- All Implemented Interfaces:
public final class BatchCreateParams.Request
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBatchCreateParams.Request.BuilderA builder for Request.
public final classBatchCreateParams.Request.ParamsMessages API creation parameters for the individual request.
See the /en/api/messages for full documentation on available parameters.
-
Method Summary
Modifier and Type Method Description final StringcustomId()Developer-provided ID created for each request in a Message Batch. final BatchCreateParams.Request.Paramsparams()Messages API creation parameters for the individual request. final JsonField<String>_customId()Developer-provided ID created for each request in a Message Batch. final JsonField<BatchCreateParams.Request.Params>_params()Messages API creation parameters for the individual request. final Map<String, JsonValue>_additionalProperties()final BatchCreateParams.Requestvalidate()final BatchCreateParams.Request.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BatchCreateParams.Request.Builderbuilder()Returns a mutable builder for constructing an instance of Request. -
-
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.
-
params
final BatchCreateParams.Request.Params params()
Messages API creation parameters for the individual request.
See the /en/api/messages for full documentation on available parameters.
-
_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.
-
_params
final JsonField<BatchCreateParams.Request.Params> _params()
Messages API creation parameters for the individual request.
See the /en/api/messages for full documentation on available parameters.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final BatchCreateParams.Request validate()
-
toBuilder
final BatchCreateParams.Request.Builder toBuilder()
-
builder
final static BatchCreateParams.Request.Builder builder()
Returns a mutable builder for constructing an instance of Request.
The following fields are required:
.customId() .params()
-
-
-
-