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(MessagingTemplateRequest messagingTemplate) The messaging template sentType of messenger.voidsetConversationId(String conversationId) voidsetFromAddress(String fromAddress) voidsetMessage(MessageData message) voidsetMessagingTemplate(MessagingTemplateRequest 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()
-
-
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. -
getTextBody
-
setTextBody
-
messagingTemplate
public SendAgentlessOutboundMessageResponse messagingTemplate(MessagingTemplateRequest messagingTemplate) The messaging template sent -
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
-
getSelfUri
-
getUser
-
equals
-
hashCode
public int hashCode() -
toString
-