Class InboundTrackEventParams.Body.Builder
-
- All Implemented Interfaces:
public final class InboundTrackEventParams.Body.BuilderA builder for Body.
-
-
Method Summary
-
-
Method Detail
-
event
final InboundTrackEventParams.Body.Builder event(String event)
A descriptive name of the event. This name will appear as a trigger in the Courier Automation Trigger node.
-
event
final InboundTrackEventParams.Body.Builder event(JsonField<String> event)
Sets Builder.event to an arbitrary JSON value.
You should usually call Builder.event with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
messageId
final InboundTrackEventParams.Body.Builder messageId(String messageId)
A required unique identifier that will be used to de-duplicate requests. If not unique, will respond with 409 Conflict status
-
messageId
final InboundTrackEventParams.Body.Builder messageId(JsonField<String> messageId)
Sets Builder.messageId to an arbitrary JSON value.
You should usually call Builder.messageId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
properties
final InboundTrackEventParams.Body.Builder properties(InboundTrackEventParams.Properties properties)
-
properties
final InboundTrackEventParams.Body.Builder properties(JsonField<InboundTrackEventParams.Properties> properties)
Sets Builder.properties to an arbitrary JSON value.
You should usually call Builder.properties with a well-typed Properties value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final InboundTrackEventParams.Body.Builder type(InboundTrackEventParams.Type type)
-
type
final InboundTrackEventParams.Body.Builder type(JsonField<InboundTrackEventParams.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
userId
final InboundTrackEventParams.Body.Builder userId(String userId)
The user id associatiated with the track
-
userId
final InboundTrackEventParams.Body.Builder userId(Optional<String> userId)
Alias for calling Builder.userId with
userId.orElse(null).
-
userId
final InboundTrackEventParams.Body.Builder userId(JsonField<String> userId)
Sets Builder.userId to an arbitrary JSON value.
You should usually call Builder.userId with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final InboundTrackEventParams.Body.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final InboundTrackEventParams.Body.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final InboundTrackEventParams.Body.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final InboundTrackEventParams.Body.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final InboundTrackEventParams.Body.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final InboundTrackEventParams.Body build()
Returns an immutable instance of Body.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.event() .messageId() .properties() .type()
-
-
-
-