Class InboundTrackEventParams.Body
-
- All Implemented Interfaces:
public final class InboundTrackEventParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInboundTrackEventParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringevent()A descriptive name of the event. final StringmessageId()A required unique identifier that will be used to de-duplicate requests. final InboundTrackEventParams.Propertiesproperties()final InboundTrackEventParams.Typetype()final Optional<String>userId()The user id associatiated with the track final JsonField<String>_event()Returns the raw JSON value of event. final JsonField<String>_messageId()Returns the raw JSON value of messageId. final JsonField<InboundTrackEventParams.Properties>_properties()Returns the raw JSON value of properties. final JsonField<InboundTrackEventParams.Type>_type()Returns the raw JSON value of type. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final InboundTrackEventParams.Body.BuildertoBuilder()final InboundTrackEventParams.Bodyvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static InboundTrackEventParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
event
final String event()
A descriptive name of the event. This name will appear as a trigger in the Courier Automation Trigger node.
-
messageId
final String messageId()
A required unique identifier that will be used to de-duplicate requests. If not unique, will respond with 409 Conflict status
-
properties
final InboundTrackEventParams.Properties properties()
-
type
final InboundTrackEventParams.Type type()
-
_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.
-
_messageId
final JsonField<String> _messageId()
Returns the raw JSON value of messageId.
Unlike messageId, this method doesn't throw if the JSON field has an unexpected type.
-
_properties
final JsonField<InboundTrackEventParams.Properties> _properties()
Returns the raw JSON value of properties.
Unlike properties, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<InboundTrackEventParams.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final InboundTrackEventParams.Body.Builder toBuilder()
-
validate
final InboundTrackEventParams.Body validate()
-
builder
final static InboundTrackEventParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.event() .messageId() .properties() .type()
-
-
-
-