Package com.courier.models.send
Class SendMessageParams.Message.Metadata
-
- All Implemented Interfaces:
public final class SendMessageParams.Message.Metadata
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSendMessageParams.Message.Metadata.BuilderA builder for Metadata.
-
Method Summary
Modifier and Type Method Description final Optional<String>event()final Optional<List<String>>tags()final Optional<String>traceId()final Optional<Utm>utm()final JsonField<String>_event()Returns the raw JSON value of event. final JsonField<List<String>>_tags()Returns the raw JSON value of tags. final JsonField<String>_traceId()Returns the raw JSON value of traceId. final JsonField<Utm>_utm()Returns the raw JSON value of utm. final Map<String, JsonValue>_additionalProperties()final SendMessageParams.Message.Metadata.BuildertoBuilder()final SendMessageParams.Message.Metadatavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SendMessageParams.Message.Metadata.Builderbuilder()Returns a mutable builder for constructing an instance of Metadata. -
-
Method Detail
-
_event
final JsonField<String> _event()
Returns the raw JSON value of event.
Unlike event, this method doesn't throw if the JSON field has an unexpected type.
-
_tags
final JsonField<List<String>> _tags()
Returns the raw JSON value of tags.
Unlike tags, this method doesn't throw if the JSON field has an unexpected type.
-
_traceId
final JsonField<String> _traceId()
Returns the raw JSON value of traceId.
Unlike traceId, this method doesn't throw if the JSON field has an unexpected type.
-
_utm
final JsonField<Utm> _utm()
Returns the raw JSON value of utm.
Unlike utm, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SendMessageParams.Message.Metadata.Builder toBuilder()
-
validate
final SendMessageParams.Message.Metadata 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 SendMessageParams.Message.Metadata.Builder builder()
Returns a mutable builder for constructing an instance of Metadata.
-
-
-
-