Package com.courier.models.bulk
Class BulkCreateJobParams.Body
-
- All Implemented Interfaces:
public final class BulkCreateJobParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBulkCreateJobParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final InboundBulkMessagemessage()Bulk message definition. final JsonField<InboundBulkMessage>_message()Returns the raw JSON value of message. final Map<String, JsonValue>_additionalProperties()final BulkCreateJobParams.Body.BuildertoBuilder()final BulkCreateJobParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BulkCreateJobParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
message
final InboundBulkMessage message()
Bulk message definition. Supports two formats:
V1 format: Requires
eventfield (event ID or notification ID)V2 format: Optionally use
template(notification ID) orcontent(Elemental content) in addition toevent
-
_message
final JsonField<InboundBulkMessage> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BulkCreateJobParams.Body.Builder toBuilder()
-
validate
final BulkCreateJobParams.Body validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BulkCreateJobParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.message()
-
-
-
-