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.Optional.getEvent()Get eventOverwrites the default callback url for delivery receipts for this message The REST URL should be of the form:http://host[:port]/pathOptional.getQueue()Get queueGet recipient
-
Method Details
-
getAppId
String getAppId()The ID of the app sending the event.Field is required
- Returns:
- appId
-
getEventDestinationTarget
String getEventDestinationTarget()Overwrites the default callback url for delivery receipts for this message The REST URL should be of the form:http://host[:port]/path- Returns:
- eventDestinationTarget
-
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 eventField is required
- 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()Get recipientField is required
- Returns:
- recipient
-
builder
Getting builder- Returns:
- New Builder instance
-