Package com.mypurecloud.sdk.v2.model
Class SendAgentlessOutboundMessageResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.SendAgentlessOutboundMessageResponse
- All Implemented Interfaces:
Serializable
SendAgentlessOutboundMessageResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of messenger. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconversationId(String conversationId) The identifier of the conversation.booleanfromAddress(String fromAddress) The sender of the message.getId()getUser()inthashCode()message(MessageData message) Sent agentless outbound message in normalized formatmessagingTemplate(SendMessagingTemplateRequest messagingTemplate) The messaging template sent.Type of messenger.voidsetConversationId(String conversationId) voidsetFromAddress(String fromAddress) voidsetMessage(MessageData message) voidsetMessagingTemplate(SendMessagingTemplateRequest messagingTemplate) voidvoidsetTextBody(String textBody) voidsetTimestamp(Date timestamp) voidsetToAddress(String toAddress) voidsetUseExistingActiveConversation(Boolean useExistingActiveConversation) The body of the text message.The time when the message was sent.The recipient of the message.toString()useExistingActiveConversation(Boolean useExistingActiveConversation) Use an existing active conversation to send the agentless outbound message.
-
Constructor Details
-
SendAgentlessOutboundMessageResponse
public SendAgentlessOutboundMessageResponse() -
SendAgentlessOutboundMessageResponse
-
-
Method Details
-
getId
-
conversationId
The identifier of the conversation. -
getConversationId
-
setConversationId
-
fromAddress
The sender of the message. -
getFromAddress
-
setFromAddress
-
toAddress
The recipient of the message. -
getToAddress
-
setToAddress
-
messengerType
public SendAgentlessOutboundMessageResponse messengerType(SendAgentlessOutboundMessageResponse.MessengerTypeEnum messengerType) Type of messenger. -
getMessengerType
-
setMessengerType
-
textBody
The body of the text message. (Deprecated - Instead use message.normalizedMessage.text) -
getTextBody
-
setTextBody
-
messagingTemplate
public SendAgentlessOutboundMessageResponse messagingTemplate(SendMessagingTemplateRequest messagingTemplate) The messaging template sent. (Deprecated - Instead use message.normalizedMessage.content[#].template) -
getMessagingTemplate
-
setMessagingTemplate
-
useExistingActiveConversation
public SendAgentlessOutboundMessageResponse useExistingActiveConversation(Boolean useExistingActiveConversation) Use an existing active conversation to send the agentless outbound message. Set this parameter to 'true' to use active conversation. Default value: false -
getUseExistingActiveConversation
-
setUseExistingActiveConversation
-
message
Sent agentless outbound message in normalized format -
getMessage
-
setMessage
-
timestamp
The time when the message was sent. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getTimestamp
-
setTimestamp
-
getUser
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-