Package com.mypurecloud.sdk.v2.model
Class MessageMediaParticipant
java.lang.Object
com.mypurecloud.sdk.v2.model.MessageMediaParticipant
- All Implemented Interfaces:
Serializable
MessageMediaParticipant
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe participant's direction.static enumThe reason the participant was disconnected from the conversation.static enumThe reason specifying why participant flagged the conversation.static enumThe participant's state.static enumIndicates the type of message platform from which the message originated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe participant address.alertingTimeoutMs(Integer alertingTimeoutMs) Specifies how long the agent has to answer an interaction before being marked as not responding.attributes(Map<String, String> attributes) A list of ad-hoc attributes for the participant.authenticated(Boolean authenticated) If true, the participant member is authenticated.connectedTime(Date connectedTime) The time when this participant went connected for this media (eg: video connected time).conversationRoutingData(ConversationRoutingData conversationRoutingData) Information on how a communication should be routed to an agent.direction(MessageMediaParticipant.DirectionEnum direction) The participant's direction.disconnectType(MessageMediaParticipant.DisconnectTypeEnum disconnectType) The reason the participant was disconnected from the conversation.endAcwTime(Date endAcwTime) The timestamp when this participant ended after-call work.The time when this participant went disconnected for this media (eg: video disconnected time).booleanIf the conversation ends in error, contains additional error details.externalContact(DomainEntityRef externalContact) If this participant represents an external contact, then this will be the reference for the external contact.externalContactInitialDivisionId(String externalContactInitialDivisionId) If this participant represents an external contact, then this will be the initial division for the external contact.externalOrganization(DomainEntityRef externalOrganization) If this participant represents an external org, then this will be the reference for the external org.flaggedReason(MessageMediaParticipant.FlaggedReasonEnum flaggedReason) The reason specifying why participant flagged the conversation.fromAddress(Address fromAddress) Address for the participant on the sending side of the message conversation.getHeld()getId()getName()getPeer()getQueue()getState()getTeam()getType()getUser()inthashCode()Value is true when the participant is on hold.The unique participant ID.journeyContext(JourneyContext journeyContext) Journey System data/context that is applicable to this communication.mediaRoles(List<String> mediaRoles) List of roles this participant's media has had on the conversation, ie monitor, coach, etcmessages(List<MessageDetails> messages) Message instance details on the communication.monitoredParticipant(AddressableEntityRef monitoredParticipant) The participant being monitored when performing a message monitor.monitoredParticipantId(String monitoredParticipantId) The ID of the participant being monitored when performing a message monitor.The display friendly name of the participant.The time when this participant's communication was last parked.The peer communication corresponding to a matching leg for this communication.The source provider for the communication.The participant's purpose.queue(DomainEntityRef queue) The PureCloud queue for this participant.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 this participant's communications will resume.script(DomainEntityRef script) The Engage script that should be used by this participant.voidsetAddress(String address) voidsetAlertingTimeoutMs(Integer alertingTimeoutMs) voidsetAttributes(Map<String, String> attributes) voidsetAuthenticated(Boolean authenticated) voidsetConnectedTime(Date connectedTime) voidsetConversationRoutingData(ConversationRoutingData conversationRoutingData) voidvoidsetDisconnectType(MessageMediaParticipant.DisconnectTypeEnum disconnectType) voidsetEndAcwTime(Date endAcwTime) voidsetEndTime(Date endTime) voidsetErrorInfo(ErrorInfo errorInfo) voidsetExternalContact(DomainEntityRef externalContact) voidsetExternalContactInitialDivisionId(String externalContactInitialDivisionId) voidsetExternalOrganization(DomainEntityRef externalOrganization) voidsetFlaggedReason(MessageMediaParticipant.FlaggedReasonEnum flaggedReason) voidsetFromAddress(Address fromAddress) voidvoidvoidsetJourneyContext(JourneyContext journeyContext) voidsetMediaRoles(List<String> mediaRoles) voidsetMessages(List<MessageDetails> messages) voidsetMonitoredParticipant(AddressableEntityRef monitoredParticipant) voidsetMonitoredParticipantId(String monitoredParticipantId) voidvoidsetParkTime(Date parkTime) voidvoidsetProvider(String provider) voidsetPurpose(String purpose) voidsetQueue(DomainEntityRef queue) voidsetRecipientCountry(String recipientCountry) voidsetRecipientType(String recipientType) voidsetResumeTime(Date resumeTime) voidsetScript(DomainEntityRef script) voidsetStartAcwTime(Date startAcwTime) voidsetStartAlertingTime(Date startAlertingTime) voidsetStartHoldTime(Date startHoldTime) voidsetStartTime(Date startTime) voidvoidsetTeam(DomainEntityRef team) voidsetToAddress(Address toAddress) voidvoidsetUser(DomainEntityRef user) voidvoidsetWrapupPrompt(String wrapupPrompt) voidsetWrapupRequired(Boolean wrapupRequired) voidsetWrapupSkipped(Boolean wrapupSkipped) voidsetWrapupTimeoutMs(Integer wrapupTimeoutMs) startAcwTime(Date startAcwTime) The timestamp when this participant started after-call work.startAlertingTime(Date startAlertingTime) The timestamp when it is first put into an alerting state.startHoldTime(Date startHoldTime) The time when this participant's hold started.The time when this participant first joined the conversation.The participant's state.team(DomainEntityRef team) The PureCloud team for this participant.Address for the participant on receiving side of the message conversation.toString()Indicates the type of message platform from which the message originated.user(DomainEntityRef user) The PureCloud user for this participant.Wrapup for this participant, if it has been applied.wrapupPrompt(String wrapupPrompt) The wrap-up prompt indicating the type of wrap-up to be performed.wrapupRequired(Boolean wrapupRequired) Value is true when the participant requires wrap-up.wrapupSkipped(Boolean wrapupSkipped) Value is true when the participant has skipped wrap-up.wrapupTimeoutMs(Integer wrapupTimeoutMs) The amount of time the participant has to complete wrap-up.
-
Constructor Details
-
MessageMediaParticipant
public MessageMediaParticipant() -
MessageMediaParticipant
-
-
Method Details
-
id
The unique participant ID. -
getId
-
setId
-
name
The display friendly name of the participant. -
getName
-
setName
-
address
The participant address. -
getAddress
-
setAddress
-
startTime
The time when this participant first joined the conversation. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartTime
-
setStartTime
-
startAlertingTime
The timestamp 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 time when this participant went connected for this media (eg: video connected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getConnectedTime
-
setConnectedTime
-
endTime
The time when this participant went disconnected for this media (eg: video disconnected time). Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getEndTime
-
setEndTime
-
startHoldTime
The time when this participant's hold started. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartHoldTime
-
setStartHoldTime
-
purpose
The participant's purpose. Values can be: 'agent', 'user', 'customer', 'external', 'acd', 'ivr -
getPurpose
-
setPurpose
-
state
The participant's state. Values can be: 'alerting', 'connected', 'disconnected', 'dialing', 'contacting -
getState
-
setState
-
direction
The participant's direction. Values can be: 'inbound' or 'outbound' -
getDirection
-
setDirection
-
disconnectType
public MessageMediaParticipant disconnectType(MessageMediaParticipant.DisconnectTypeEnum disconnectType) The reason the participant was disconnected from the conversation. -
getDisconnectType
-
setDisconnectType
-
held
Value is true when the participant is on hold. -
getHeld
-
setHeld
-
wrapupRequired
Value is true when the participant requires wrap-up. -
getWrapupRequired
-
setWrapupRequired
-
wrapupPrompt
The wrap-up prompt indicating the type of wrap-up to be performed. -
getWrapupPrompt
-
setWrapupPrompt
-
mediaRoles
List of roles this participant's media has had on the conversation, ie monitor, coach, etc -
getMediaRoles
-
setMediaRoles
-
user
The PureCloud user for this participant. -
getUser
-
setUser
-
queue
The PureCloud queue for this participant. -
getQueue
-
setQueue
-
team
The PureCloud team for this participant. -
getTeam
-
setTeam
-
attributes
A list of ad-hoc attributes for the participant. -
getAttributes
-
setAttributes
-
errorInfo
If the conversation ends in error, contains additional error details. -
getErrorInfo
-
setErrorInfo
-
script
The Engage script that should be used by this participant. -
getScript
-
setScript
-
wrapupTimeoutMs
The amount of time the participant has to complete wrap-up. -
getWrapupTimeoutMs
-
setWrapupTimeoutMs
-
wrapupSkipped
Value is true when the participant has skipped wrap-up. -
getWrapupSkipped
-
setWrapupSkipped
-
alertingTimeoutMs
Specifies how long the agent has to answer an interaction before being marked as not responding. -
getAlertingTimeoutMs
-
setAlertingTimeoutMs
-
provider
The source provider for the communication. -
getProvider
-
setProvider
-
externalContact
If this participant represents an external contact, then this will be the reference for the external contact. -
getExternalContact
-
setExternalContact
-
externalContactInitialDivisionId
public MessageMediaParticipant externalContactInitialDivisionId(String externalContactInitialDivisionId) If this participant represents an external contact, then this will be the initial division for the external contact. This value will not be updated if the external contact is reassigned. -
getExternalContactInitialDivisionId
-
setExternalContactInitialDivisionId
-
externalOrganization
If this participant represents an external org, then this will be the reference for the external org. -
getExternalOrganization
-
setExternalOrganization
-
wrapup
Wrapup for this participant, if it has been applied. -
getWrapup
-
setWrapup
-
peer
The peer communication corresponding to a matching leg for this communication. -
getPeer
-
setPeer
-
flaggedReason
public MessageMediaParticipant flaggedReason(MessageMediaParticipant.FlaggedReasonEnum flaggedReason) The reason specifying why participant flagged the conversation. -
getFlaggedReason
-
setFlaggedReason
-
journeyContext
Journey System data/context that is applicable to this communication. When used for historical purposes, the context should be immutable. When null, there is no applicable Journey System context. -
getJourneyContext
-
setJourneyContext
-
conversationRoutingData
public MessageMediaParticipant conversationRoutingData(ConversationRoutingData conversationRoutingData) Information on how a communication should be routed to an agent. -
getConversationRoutingData
-
setConversationRoutingData
-
startAcwTime
The timestamp when this participant started after-call work. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getStartAcwTime
-
setStartAcwTime
-
endAcwTime
The timestamp when this participant ended after-call work. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getEndAcwTime
-
setEndAcwTime
-
parkTime
The time when this participant's communication was last parked. Does not reset on resume. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getParkTime
-
setParkTime
-
resumeTime
The time when this participant's communications will resume. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getResumeTime
-
setResumeTime
-
toAddress
Address for the participant on receiving side of the message conversation. If the address is a phone number, E.164 format is recommended. -
getToAddress
-
setToAddress
-
fromAddress
Address for the participant on the sending side of the message conversation. If the address is a phone number, E.164 format is recommended. -
getFromAddress
-
setFromAddress
-
messages
Message instance details on the communication. -
getMessages
-
setMessages
-
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
-
authenticated
If true, the participant member is authenticated. -
getAuthenticated
-
setAuthenticated
-
monitoredParticipantId
The ID of the participant being monitored when performing a message monitor. -
getMonitoredParticipantId
-
setMonitoredParticipantId
-
monitoredParticipant
The participant being monitored when performing a message monitor. -
getMonitoredParticipant
-
setMonitoredParticipant
-
equals
-
hashCode
public int hashCode() -
toString
-