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 Messages API reference 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()Returns the raw JSON value of customId. final JsonField<BatchCreateParams.Request.Params>_params()Returns the raw JSON value of params. final Map<String, JsonValue>_additionalProperties()final BatchCreateParams.Request.BuildertoBuilder()final BatchCreateParams.Requestvalidate()final BooleanisValid()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 Messages API reference for full documentation on available parameters.
-
_customId
final JsonField<String> _customId()
Returns the raw JSON value of customId.
Unlike customId, this method doesn't throw if the JSON field has an unexpected type.
-
_params
final JsonField<BatchCreateParams.Request.Params> _params()
Returns the raw JSON value of params.
Unlike params, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BatchCreateParams.Request.Builder toBuilder()
-
validate
final BatchCreateParams.Request validate()
-
builder
final static BatchCreateParams.Request.Builder builder()
Returns a mutable builder for constructing an instance of Request.
The following fields are required:
.customId() .params()
-
-
-
-