Package com.mypurecloud.sdk.v2.model
Class ConversationEventTopicMessage
java.lang.Object
com.mypurecloud.sdk.v2.model.ConversationEventTopicMessage
- All Implemented Interfaces:
Serializable
ConversationEventTopicMessage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumWhether a message is inbound or outbound.static enumSystem defined string indicating what caused the communication to disconnect.static enumGets or Sets initialStatestatic enumGets or Sets statestatic enumIndicates the type of message platform from which the message originated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterCallWork(ConversationEventTopicAfterCallWork afterCallWork) A communication's after-call work data.afterCallWorkRequired(Boolean afterCallWorkRequired) Indicates if after-call is required for a communication.agentAssistantId(String agentAssistantId) UUID of virtual agent assistant that provide suggestions to the agent participant during the conversation.byoSmsIntegrationId(String byoSmsIntegrationId) connectedTime(Date connectedTime) The timestamp when this communication was connected in the cloud clock.Whether a message is inbound or outbound.disconnectedTime(Date disconnectedTime) The timestamp when this communication disconnected from the conversation in the provider clock.disconnectType(ConversationEventTopicMessage.DisconnectTypeEnum disconnectType) System defined string indicating what caused the communication to disconnect.engagementSource(String engagementSource) Provide more visibility into what integrations customers are creating with Open Messaging.booleanerrorInfo(ConversationEventTopicErrorDetails errorInfo) Detailed information about an error response.fromAddress(ConversationEventTopicAddress fromAddress) Address and name data for a call endpoint.getHeld()getId()getState()getType()inthashCode()True if this call is held and the person on this side hears silence.A globally unique identifier for this communication.initialState(ConversationEventTopicMessage.InitialStateEnum initialState) journeyContext(ConversationEventTopicJourneyContext journeyContext) A subset of the Journey System's data relevant to a part of a conversation (for external linkage and internal usage/context).messages(List<ConversationEventTopicMessageDetails> messages) The messages sent on this communication channel.messagesTranscriptUri(String messagesTranscriptUri) the messages transcript file uri.The time when an parked message was parked.The id of the peer communication corresponding to a matching leg for this communication.The source provider of the email.queueMediaSettings(ConversationEventTopicQueueMediaSettings queueMediaSettings) Represents the queue setting for this media.recipientCountry(String recipientCountry) Indicates the country where the recipient is associated in ISO 3166-1 alpha-2 format.recipientType(String recipientType) The type of the recipient.resumeTime(Date resumeTime) The time when a parked message should resume.The UUID of the script to use.voidsetAfterCallWork(ConversationEventTopicAfterCallWork afterCallWork) voidsetAfterCallWorkRequired(Boolean afterCallWorkRequired) voidsetAgentAssistantId(String agentAssistantId) voidsetByoSmsIntegrationId(String byoSmsIntegrationId) voidsetConnectedTime(Date connectedTime) voidvoidsetDisconnectedTime(Date disconnectedTime) voidsetDisconnectType(ConversationEventTopicMessage.DisconnectTypeEnum disconnectType) voidsetEngagementSource(String engagementSource) voidsetErrorInfo(ConversationEventTopicErrorDetails errorInfo) voidsetFromAddress(ConversationEventTopicAddress fromAddress) voidvoidvoidvoidsetJourneyContext(ConversationEventTopicJourneyContext journeyContext) voidsetMessages(List<ConversationEventTopicMessageDetails> messages) voidsetMessagesTranscriptUri(String messagesTranscriptUri) voidsetParkTime(Date parkTime) voidvoidsetProvider(String provider) voidsetQueueMediaSettings(ConversationEventTopicQueueMediaSettings queueMediaSettings) voidsetRecipientCountry(String recipientCountry) voidsetRecipientType(String recipientType) voidsetResumeTime(Date resumeTime) voidsetScriptId(String scriptId) voidsetStartHoldTime(Date startHoldTime) voidvoidsetToAddress(ConversationEventTopicAddress toAddress) voidvoidstartHoldTime(Date startHoldTime) The timestamp the email was placed on hold in the cloud clock if the email is currently on hold.toAddress(ConversationEventTopicAddress toAddress) Address and name data for a call endpoint.toString()Indicates the type of message platform from which the message originated.wrapup(ConversationEventTopicWrapup wrapup) Call wrap up or disposition data.
-
Constructor Details
-
ConversationEventTopicMessage
public ConversationEventTopicMessage() -
ConversationEventTopicMessage
-
-
Method Details
-
id
A globally unique identifier for this communication. -
getId
-
setId
-
state
-
getState
-
setState
-
initialState
public ConversationEventTopicMessage initialState(ConversationEventTopicMessage.InitialStateEnum initialState) -
getInitialState
-
setInitialState
-
direction
public ConversationEventTopicMessage direction(ConversationEventTopicMessage.DirectionEnum direction) Whether a message is inbound or outbound. -
getDirection
-
setDirection
-
held
True if this call is held and the person on this side hears silence. -
getHeld
-
setHeld
-
errorInfo
Detailed information about an error response. -
getErrorInfo
-
setErrorInfo
-
provider
The source provider of the email. -
getProvider
-
setProvider
-
scriptId
The UUID of the script to use. -
getScriptId
-
setScriptId
-
peerId
The id of the peer communication corresponding to a matching leg for this communication. -
getPeerId
-
setPeerId
-
disconnectType
public ConversationEventTopicMessage disconnectType(ConversationEventTopicMessage.DisconnectTypeEnum disconnectType) System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. -
getDisconnectType
-
setDisconnectType
-
startHoldTime
The timestamp the email was placed on hold in the cloud clock if the email is currently on hold. -
getStartHoldTime
-
setStartHoldTime
-
connectedTime
The timestamp when this communication was connected in the cloud clock. -
getConnectedTime
-
setConnectedTime
-
disconnectedTime
The timestamp when this communication disconnected from the conversation in the provider clock. -
getDisconnectedTime
-
setDisconnectedTime
-
toAddress
Address and name data for a call endpoint. -
getToAddress
-
setToAddress
-
fromAddress
Address and name data for a call endpoint. -
getFromAddress
-
setFromAddress
-
messages
The messages sent on this communication channel. -
getMessages
-
setMessages
-
messagesTranscriptUri
the messages transcript file uri. -
getMessagesTranscriptUri
-
setMessagesTranscriptUri
-
type
Indicates the type of message platform from which the message originated. -
getType
-
setType
-
recipientCountry
Indicates the country where the recipient is associated in ISO 3166-1 alpha-2 format. -
getRecipientCountry
-
setRecipientCountry
-
recipientType
The type of the recipient. Eg: Provisioned phoneNumber is the recipient for sms message type. -
getRecipientType
-
setRecipientType
-
journeyContext
public ConversationEventTopicMessage journeyContext(ConversationEventTopicJourneyContext journeyContext) A subset of the Journey System's data relevant to a part of a conversation (for external linkage and internal usage/context). -
getJourneyContext
-
setJourneyContext
-
wrapup
Call wrap up or disposition data. -
getWrapup
-
setWrapup
-
afterCallWork
public ConversationEventTopicMessage afterCallWork(ConversationEventTopicAfterCallWork afterCallWork) A communication's after-call work data. -
getAfterCallWork
-
setAfterCallWork
-
afterCallWorkRequired
Indicates if after-call is required for a communication. Only used when the ACW Setting is Agent Requested. -
getAfterCallWorkRequired
-
setAfterCallWorkRequired
-
agentAssistantId
UUID of virtual agent assistant that provide suggestions to the agent participant during the conversation. -
getAgentAssistantId
-
setAgentAssistantId
-
engagementSource
Provide more visibility into what integrations customers are creating with Open Messaging. String values are defined in the Constants.java named ENGAGEMENT_SOURCE_* -
getEngagementSource
-
setEngagementSource
-
byoSmsIntegrationId
-
getByoSmsIntegrationId
-
setByoSmsIntegrationId
-
queueMediaSettings
public ConversationEventTopicMessage queueMediaSettings(ConversationEventTopicQueueMediaSettings queueMediaSettings) Represents the queue setting for this media. -
getQueueMediaSettings
-
setQueueMediaSettings
-
resumeTime
The time when a parked message should resume. -
getResumeTime
-
setResumeTime
-
parkTime
The time when an parked message was parked. -
getParkTime
-
setParkTime
-
equals
-
hashCode
public int hashCode() -
toString
-