Class EmailMediaParticipant

java.lang.Object
com.mypurecloud.sdk.v2.model.EmailMediaParticipant
All Implemented Interfaces:
Serializable

public class EmailMediaParticipant extends Object implements Serializable
EmailMediaParticipant
See Also:
  • Constructor Details

    • EmailMediaParticipant

      public EmailMediaParticipant()
    • EmailMediaParticipant

      public EmailMediaParticipant(Boolean initWithEmptyList)
  • Method Details

    • id

      public EmailMediaParticipant id(String id)
      The unique participant ID.
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • name

      public EmailMediaParticipant name(String name)
      The display friendly name of the participant.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • address

      public EmailMediaParticipant address(String address)
      The participant address.
    • getAddress

      public String getAddress()
    • setAddress

      public void setAddress(String address)
    • startTime

      public EmailMediaParticipant startTime(Date 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

      public Date getStartTime()
    • setStartTime

      public void setStartTime(Date startTime)
    • startAlertingTime

      public EmailMediaParticipant startAlertingTime(Date 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

      public Date getStartAlertingTime()
    • setStartAlertingTime

      public void setStartAlertingTime(Date startAlertingTime)
    • connectedTime

      public EmailMediaParticipant connectedTime(Date 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

      public Date getConnectedTime()
    • setConnectedTime

      public void setConnectedTime(Date connectedTime)
    • endTime

      public EmailMediaParticipant endTime(Date 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

      public Date getEndTime()
    • setEndTime

      public void setEndTime(Date endTime)
    • startHoldTime

      public EmailMediaParticipant startHoldTime(Date 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

      public Date getStartHoldTime()
    • setStartHoldTime

      public void setStartHoldTime(Date startHoldTime)
    • purpose

      public EmailMediaParticipant purpose(String purpose)
      The participant's purpose. Values can be: 'agent', 'user', 'customer', 'external', 'acd', 'ivr
    • getPurpose

      public String getPurpose()
    • setPurpose

      public void setPurpose(String purpose)
    • state

      The participant's state. Values can be: 'alerting', 'connected', 'disconnected', 'dialing', 'contacting
    • getState

    • setState

      public void setState(EmailMediaParticipant.StateEnum state)
    • direction

      The participant's direction. Values can be: 'inbound' or 'outbound'
    • getDirection

      public EmailMediaParticipant.DirectionEnum getDirection()
    • setDirection

      public void setDirection(EmailMediaParticipant.DirectionEnum direction)
    • disconnectType

      public EmailMediaParticipant disconnectType(EmailMediaParticipant.DisconnectTypeEnum disconnectType)
      The reason the participant was disconnected from the conversation.
    • getDisconnectType

      public EmailMediaParticipant.DisconnectTypeEnum getDisconnectType()
    • setDisconnectType

      public void setDisconnectType(EmailMediaParticipant.DisconnectTypeEnum disconnectType)
    • held

      public EmailMediaParticipant held(Boolean held)
      Value is true when the participant is on hold.
    • getHeld

      public Boolean getHeld()
    • setHeld

      public void setHeld(Boolean held)
    • wrapupRequired

      public EmailMediaParticipant wrapupRequired(Boolean wrapupRequired)
      Value is true when the participant requires wrap-up.
    • getWrapupRequired

      public Boolean getWrapupRequired()
    • setWrapupRequired

      public void setWrapupRequired(Boolean wrapupRequired)
    • wrapupPrompt

      public EmailMediaParticipant wrapupPrompt(String wrapupPrompt)
      The wrap-up prompt indicating the type of wrap-up to be performed.
    • getWrapupPrompt

      public String getWrapupPrompt()
    • setWrapupPrompt

      public void setWrapupPrompt(String wrapupPrompt)
    • mediaRoles

      public EmailMediaParticipant mediaRoles(List<String> mediaRoles)
      List of roles this participant's media has had on the conversation, ie monitor, coach, etc
    • getMediaRoles

      public List<String> getMediaRoles()
    • setMediaRoles

      public void setMediaRoles(List<String> mediaRoles)
    • user

      The PureCloud user for this participant.
    • getUser

      public DomainEntityRef getUser()
    • setUser

      public void setUser(DomainEntityRef user)
    • queue

      public EmailMediaParticipant queue(DomainEntityRef queue)
      The PureCloud queue for this participant.
    • getQueue

      public DomainEntityRef getQueue()
    • setQueue

      public void setQueue(DomainEntityRef queue)
    • team

      The PureCloud team for this participant.
    • getTeam

      public DomainEntityRef getTeam()
    • setTeam

      public void setTeam(DomainEntityRef team)
    • attributes

      public EmailMediaParticipant attributes(Map<String,String> attributes)
      A list of ad-hoc attributes for the participant.
    • getAttributes

      public Map<String,String> getAttributes()
    • setAttributes

      public void setAttributes(Map<String,String> attributes)
    • errorInfo

      public EmailMediaParticipant errorInfo(ErrorInfo errorInfo)
      If the conversation ends in error, contains additional error details.
    • getErrorInfo

      public ErrorInfo getErrorInfo()
    • setErrorInfo

      public void setErrorInfo(ErrorInfo errorInfo)
    • script

      public EmailMediaParticipant script(DomainEntityRef script)
      The Engage script that should be used by this participant.
    • getScript

      public DomainEntityRef getScript()
    • setScript

      public void setScript(DomainEntityRef script)
    • wrapupTimeoutMs

      public EmailMediaParticipant wrapupTimeoutMs(Integer wrapupTimeoutMs)
      The amount of time the participant has to complete wrap-up.
    • getWrapupTimeoutMs

      public Integer getWrapupTimeoutMs()
    • setWrapupTimeoutMs

      public void setWrapupTimeoutMs(Integer wrapupTimeoutMs)
    • wrapupSkipped

      public EmailMediaParticipant wrapupSkipped(Boolean wrapupSkipped)
      Value is true when the participant has skipped wrap-up.
    • getWrapupSkipped

      public Boolean getWrapupSkipped()
    • setWrapupSkipped

      public void setWrapupSkipped(Boolean wrapupSkipped)
    • alertingTimeoutMs

      public EmailMediaParticipant alertingTimeoutMs(Integer alertingTimeoutMs)
      Specifies how long the agent has to answer an interaction before being marked as not responding.
    • getAlertingTimeoutMs

      public Integer getAlertingTimeoutMs()
    • setAlertingTimeoutMs

      public void setAlertingTimeoutMs(Integer alertingTimeoutMs)
    • provider

      public EmailMediaParticipant provider(String provider)
      The source provider for the communication.
    • getProvider

      public String getProvider()
    • setProvider

      public void setProvider(String provider)
    • externalContact

      public EmailMediaParticipant externalContact(DomainEntityRef externalContact)
      If this participant represents an external contact, then this will be the reference for the external contact.
    • getExternalContact

      public DomainEntityRef getExternalContact()
    • setExternalContact

      public void setExternalContact(DomainEntityRef externalContact)
    • externalContactInitialDivisionId

      public EmailMediaParticipant 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

      public String getExternalContactInitialDivisionId()
    • setExternalContactInitialDivisionId

      public void setExternalContactInitialDivisionId(String externalContactInitialDivisionId)
    • externalOrganization

      public EmailMediaParticipant externalOrganization(DomainEntityRef externalOrganization)
      If this participant represents an external org, then this will be the reference for the external org.
    • getExternalOrganization

      public DomainEntityRef getExternalOrganization()
    • setExternalOrganization

      public void setExternalOrganization(DomainEntityRef externalOrganization)
    • wrapup

      public EmailMediaParticipant wrapup(Wrapup wrapup)
      Wrapup for this participant, if it has been applied.
    • getWrapup

      public Wrapup getWrapup()
    • setWrapup

      public void setWrapup(Wrapup wrapup)
    • peer

      public EmailMediaParticipant peer(String peer)
      The peer communication corresponding to a matching leg for this communication.
    • getPeer

      public String getPeer()
    • setPeer

      public void setPeer(String peer)
    • flaggedReason

      public EmailMediaParticipant flaggedReason(EmailMediaParticipant.FlaggedReasonEnum flaggedReason)
      The reason specifying why participant flagged the conversation.
    • getFlaggedReason

      public EmailMediaParticipant.FlaggedReasonEnum getFlaggedReason()
    • setFlaggedReason

      public void setFlaggedReason(EmailMediaParticipant.FlaggedReasonEnum flaggedReason)
    • journeyContext

      public EmailMediaParticipant journeyContext(JourneyContext 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

      public JourneyContext getJourneyContext()
    • setJourneyContext

      public void setJourneyContext(JourneyContext journeyContext)
    • conversationRoutingData

      public EmailMediaParticipant conversationRoutingData(ConversationRoutingData conversationRoutingData)
      Information on how a communication should be routed to an agent.
    • getConversationRoutingData

      public ConversationRoutingData getConversationRoutingData()
    • setConversationRoutingData

      public void setConversationRoutingData(ConversationRoutingData conversationRoutingData)
    • startAcwTime

      public EmailMediaParticipant startAcwTime(Date 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

      public Date getStartAcwTime()
    • setStartAcwTime

      public void setStartAcwTime(Date startAcwTime)
    • endAcwTime

      public EmailMediaParticipant endAcwTime(Date 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

      public Date getEndAcwTime()
    • setEndAcwTime

      public void setEndAcwTime(Date endAcwTime)
    • parkTime

      public EmailMediaParticipant parkTime(Date 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

      public Date getParkTime()
    • setParkTime

      public void setParkTime(Date parkTime)
    • resumeTime

      public EmailMediaParticipant resumeTime(Date 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

      public Date getResumeTime()
    • setResumeTime

      public void setResumeTime(Date resumeTime)
    • subject

      public EmailMediaParticipant subject(String subject)
      The subject of the email.
    • getSubject

      public String getSubject()
    • setSubject

      public void setSubject(String subject)
    • messagesSent

      public EmailMediaParticipant messagesSent(Integer messagesSent)
      The number of messages that have been sent in this email conversation.
    • getMessagesSent

      public Integer getMessagesSent()
    • setMessagesSent

      public void setMessagesSent(Integer messagesSent)
    • autoGenerated

      public EmailMediaParticipant autoGenerated(Boolean autoGenerated)
      Indicates that the email was auto-generated like an Out of Office reply.
    • getAutoGenerated

      public Boolean getAutoGenerated()
    • setAutoGenerated

      public void setAutoGenerated(Boolean autoGenerated)
    • draftAttachments

      public EmailMediaParticipant draftAttachments(List<Attachment> draftAttachments)
      A list of uploaded attachments on the email draft.
    • getDraftAttachments

      public List<Attachment> getDraftAttachments()
    • setDraftAttachments

      public void setDraftAttachments(List<Attachment> draftAttachments)
    • spam

      public EmailMediaParticipant spam(Boolean spam)
      Indicates if the inbound email was marked as spam.
    • getSpam

      public Boolean getSpam()
    • setSpam

      public void setSpam(Boolean spam)
    • messageId

      public EmailMediaParticipant messageId(String messageId)
      A globally unique identifier for the stored content of this communication.
    • getMessageId

      public String getMessageId()
    • setMessageId

      public void setMessageId(String messageId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object