Package com.mypurecloud.sdk.v2.model
Class InternalMessage
java.lang.Object
com.mypurecloud.sdk.v2.model.InternalMessage
- All Implemented Interfaces:
Serializable
InternalMessage
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSystem defined string indicating what caused the communication to disconnect.static enumThe initial connection state of this communication.static enumThe connection state of this communication. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconnectedTime(Date connectedTime) The timestamp when this communication was connected in the cloud clock.disconnectedTime(Date disconnectedTime) The timestamp when this communication disconnected from the conversation in the provider clock.disconnectType(InternalMessage.DisconnectTypeEnum disconnectType) System defined string indicating what caused the communication to disconnect.booleanfromAddress(Address fromAddress) Address for the participant on the sending side of the internal message communication.getId()getState()inthashCode()A globally unique identifier for this communication.initialState(InternalMessage.InitialStateEnum initialState) The initial connection state of this communication.messages(List<InternalMessageDetails> messages) The messages sent on this communication channel.The id of the peer communication corresponding to a matching leg for this communication.The source provider for the message.The time line of the participant's internal message, divided into activity segments.voidsetConnectedTime(Date connectedTime) voidsetDisconnectedTime(Date disconnectedTime) voidsetDisconnectType(InternalMessage.DisconnectTypeEnum disconnectType) voidsetFromAddress(Address fromAddress) voidvoidsetInitialState(InternalMessage.InitialStateEnum initialState) voidsetMessages(List<InternalMessageDetails> messages) voidvoidsetProvider(String provider) voidsetSegments(List<Segment> segments) voidsetSourceUserId(String sourceUserId) voidsetStartAlertingTime(Date startAlertingTime) voidvoidsetTargetUserId(String targetUserId) voidsetToAddress(Address toAddress) sourceUserId(String sourceUserId) The user ID for the participant on sending side of the internal message conversation.startAlertingTime(Date startAlertingTime) The timestamp the communication has when it is first put into an alerting state.state(InternalMessage.StateEnum state) The connection state of this communication.targetUserId(String targetUserId) The user ID for the participant on receiving side of the internal message conversation.Address for the participant on receiving side of the internal message communication.toString()
-
Constructor Details
-
InternalMessage
public InternalMessage() -
InternalMessage
-
-
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
-
segments
The time line of the participant's internal message, divided into activity segments. -
getSegments
-
setSegments
-
disconnectType
System defined string indicating what caused the communication to disconnect. Will be null until the communication disconnects. -
getDisconnectType
-
setDisconnectType
-
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
-
peerId
The id of the peer communication corresponding to a matching leg for this communication. -
getPeerId
-
setPeerId
-
targetUserId
The user ID for the participant on receiving side of the internal message conversation. -
getTargetUserId
-
setTargetUserId
-
sourceUserId
The user ID for the participant on sending side of the internal message conversation. -
getSourceUserId
-
setSourceUserId
-
toAddress
Address for the participant on receiving side of the internal message communication. -
getToAddress
-
setToAddress
-
fromAddress
Address for the participant on the sending side of the internal message communication. -
getFromAddress
-
setFromAddress
-
messages
The messages sent on this communication channel. -
getMessages
-
setMessages
-
equals
-
hashCode
public int hashCode() -
toString
-