Interface SendEventRequest
public interface SendEventRequest
SendEventRequest
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SendEventRequest.Builderbuilder()Getting buildergetAppId()The ID of the app sending the event.Overwrites the default callback url for delivery receipts for this message The REST URL should be of the form:http://host[:port]/pathOptional.getEvent()Get eventOptional.getQueue()Get queueIdentifies the recipient.
-
Method Details
-
getAppId
String getAppId()The ID of the app sending the event.- Returns:
- appId
-
getCallbackUrl
String getCallbackUrl()Overwrites the default callback url for delivery receipts for this message The REST URL should be of the form:http://host[:port]/path- Returns:
- callbackUrl
-
getChannelPriorityOrder
List<ConversationChannel> getChannelPriorityOrder()Optional. A single element array that dictates on what channel should the Conversation API try to send the event. It overrides any default set on the contact. Providing more than one option has no effect.- Returns:
- channelPriorityOrder
-
getEvent
AppEvent getEvent()Get event- Returns:
- event
-
getEventMetadata
String getEventMetadata()Optional. Eventual metadata that should be associated to the event.- Returns:
- eventMetadata
-
getQueue
MessageQueue getQueue()Get queue- Returns:
- queue
-
getRecipient
Recipient getRecipient()Identifies the recipient. If Dispatch Mode is used, you must use theidentified_byfield.- Returns:
- recipient
-
builder
Getting builder- Returns:
- New Builder instance
-