Class InboundTrackEventParams
-
- All Implemented Interfaces:
-
com.courier.core.Params
public final class InboundTrackEventParams implements Params
Courier Track Event
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classInboundTrackEventParams.BuilderA builder for InboundTrackEventParams.
public final classInboundTrackEventParams.Bodypublic final classInboundTrackEventParams.Propertiespublic final classInboundTrackEventParams.Type
-
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>_additionalBodyProperties()final Headers_additionalHeaders()Additional headers to send with the request. final QueryParams_additionalQueryParams()Additional query param to send with the request. final InboundTrackEventParams.BuildertoBuilder()final InboundTrackEventParams.Body_body()Headers_headers()The full set of headers in the parameters, including both fixed and additional headers. QueryParams_queryParams()The full set of query params in the parameters, including both fixed and additional query params. Booleanequals(Object other)IntegerhashCode()StringtoString()final static InboundTrackEventParams.Builderbuilder()Returns a mutable builder for constructing an instance of InboundTrackEventParams. -
-
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.
-
_additionalBodyProperties
final Map<String, JsonValue> _additionalBodyProperties()
-
_additionalHeaders
final Headers _additionalHeaders()
Additional headers to send with the request.
-
_additionalQueryParams
final QueryParams _additionalQueryParams()
Additional query param to send with the request.
-
toBuilder
final InboundTrackEventParams.Builder toBuilder()
-
_body
final InboundTrackEventParams.Body _body()
-
_headers
Headers _headers()
The full set of headers in the parameters, including both fixed and additional headers.
-
_queryParams
QueryParams _queryParams()
The full set of query params in the parameters, including both fixed and additional query params.
-
builder
final static InboundTrackEventParams.Builder builder()
Returns a mutable builder for constructing an instance of InboundTrackEventParams.
The following fields are required:
.event() .messageId() .properties() .type()
-
-
-
-