Package com.mypurecloud.sdk.v2.model
Class Message
java.lang.Object
com.mypurecloud.sdk.v2.model.Message
- All Implemented Interfaces:
Serializable
Message
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe direction of the message.static enumSystem defined string indicating what caused the communication to disconnect.static enumGets or Sets engagementSourcestatic enumThe initial connection state of this communication.static enumThe connection state of this communication.static enumIndicates the type of message platform from which the message originated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterCallWork(AfterCallWork afterCallWork) After-call work for the communication.afterCallWorkRequired(Boolean afterCallWorkRequired) Indicates if after-call work is required for a communication.agentAssistantId(String agentAssistantId) UUID of virtual agent assistant that provide suggestions to the agent participant during the conversation.authenticated(Boolean authenticated) If true, the participant member is authenticated.byoSmsIntegrationId(String byoSmsIntegrationId) The internal id representing the customer supplied sms integration message.connectedTime(Date connectedTime) The timestamp when this communication was connected in the cloud clock.direction(Message.DirectionEnum direction) The direction of the message.disconnectedTime(Date disconnectedTime) The timestamp when this communication disconnected from the conversation in the provider clock.disconnectType(Message.DisconnectTypeEnum disconnectType) System defined string indicating what caused the communication to disconnect.engagementSource(Message.EngagementSourceEnum engagementSource) booleanfromAddress(Address 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(Message.InitialStateEnum initialState) The initial connection state of this communication.journeyContext(JourneyContext 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<MessageDetails> messages) The messages sent on this communication channel.Represents the time when an message was put into parked state.The id of the peer communication corresponding to a matching leg for this communication.The source provider for the message.queueMediaSettings(ConversationQueueMediaSettings queueMediaSettings) Represents the queue settings for this media type.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.recordingId(String recordingId) A globally unique identifier for the recording associated with this message.resumeTime(Date resumeTime) Represents the time when a parked message will resume.The UUID of the script to use.The time line of the participant's message, divided into activity segments.voidsetAfterCallWork(AfterCallWork afterCallWork) voidsetAfterCallWorkRequired(Boolean afterCallWorkRequired) voidsetAgentAssistantId(String agentAssistantId) voidsetAuthenticated(Boolean authenticated) voidsetByoSmsIntegrationId(String byoSmsIntegrationId) voidsetConnectedTime(Date connectedTime) voidsetDirection(Message.DirectionEnum direction) voidsetDisconnectedTime(Date disconnectedTime) voidsetDisconnectType(Message.DisconnectTypeEnum disconnectType) voidsetEngagementSource(Message.EngagementSourceEnum engagementSource) voidsetErrorInfo(ErrorBody errorInfo) voidsetFromAddress(Address fromAddress) voidvoidvoidsetInitialState(Message.InitialStateEnum initialState) voidsetJourneyContext(JourneyContext journeyContext) voidsetMessages(List<MessageDetails> messages) voidsetParkTime(Date parkTime) voidvoidsetProvider(String provider) voidsetQueueMediaSettings(ConversationQueueMediaSettings queueMediaSettings) voidsetRecipientCountry(String recipientCountry) voidsetRecipientType(String recipientType) voidsetRecordingId(String recordingId) voidsetResumeTime(Date resumeTime) voidsetScriptId(String scriptId) voidsetSegments(List<Segment> segments) voidsetStartAlertingTime(Date startAlertingTime) voidsetStartHoldTime(Date startHoldTime) voidsetState(Message.StateEnum state) voidsetToAddress(Address toAddress) voidsetType(Message.TypeEnum type) voidstartAlertingTime(Date startAlertingTime) The timestamp the communication has when it is first put into an alerting state.startHoldTime(Date startHoldTime) The timestamp the message was placed on hold in the cloud clock if the message is currently on hold.state(Message.StateEnum state) The connection state of this communication.Address and name data for a call endpoint.toString()type(Message.TypeEnum type) Indicates the type of message platform from which the message originated.Call wrap up or disposition data.
-
Constructor Details
-
Message
public Message() -
Message
-
-
Method Details
-
state
The connection state of this communication. -
getState
-
setState
-
initialState
The initial connection state of this communication. -
getInitialState
-
setInitialState
-
id
A globally unique identifier for this communication. -
getId
-
setId
-
held
True if this call is held and the person on this side hears silence. -
getHeld
-
setHeld
-
segments
The time line of the participant's message, divided into activity segments. -
getSegments
-
setSegments
-
direction
The direction of the message. -
getDirection
-
setDirection
-
recordingId
A globally unique identifier for the recording associated with this message. -
getRecordingId
-
setRecordingId
-
errorInfo
-
getErrorInfo
-
setErrorInfo
-
disconnectType
System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. -
getDisconnectType
-
setDisconnectType
-
startHoldTime
The timestamp the message was placed on hold in the cloud clock if the message is currently on hold. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartHoldTime
-
setStartHoldTime
-
startAlertingTime
The timestamp the communication has when it is first put into an alerting state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartAlertingTime
-
setStartAlertingTime
-
connectedTime
The timestamp when this communication was connected in the cloud clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getConnectedTime
-
setConnectedTime
-
disconnectedTime
The timestamp when this communication disconnected from the conversation in the provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDisconnectedTime
-
setDisconnectedTime
-
provider
The source provider for the message. -
getProvider
-
setProvider
-
authenticated
If true, the participant member is authenticated. -
getAuthenticated
-
setAuthenticated
-
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
-
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
-
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
-
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
After-call work for the communication. -
getAfterCallWork
-
setAfterCallWork
-
afterCallWorkRequired
Indicates if after-call work 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
-
byoSmsIntegrationId
The internal id representing the customer supplied sms integration message. -
getByoSmsIntegrationId
-
setByoSmsIntegrationId
-
queueMediaSettings
Represents the queue settings for this media type. -
getQueueMediaSettings
-
setQueueMediaSettings
-
engagementSource
-
getEngagementSource
-
setEngagementSource
-
resumeTime
Represents the time when a parked message will resume. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getResumeTime
-
setResumeTime
-
parkTime
Represents the time when an message was put into parked state. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getParkTime
-
setParkTime
-
equals
-
hashCode
public int hashCode() -
toString
-