Class CobrowseMediaParticipant

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

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

    • CobrowseMediaParticipant

      public CobrowseMediaParticipant()
    • CobrowseMediaParticipant

      public CobrowseMediaParticipant(Boolean initWithEmptyList)
  • Method Details

    • id

      The unique participant ID.
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • name

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

      public String getName()
    • setName

      public void setName(String name)
    • address

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

      public String getAddress()
    • setAddress

      public void setAddress(String address)
    • startTime

      public CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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(CobrowseMediaParticipant.StateEnum state)
    • direction

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

    • setDirection

      public void setDirection(CobrowseMediaParticipant.DirectionEnum direction)
    • disconnectType

      The reason the participant was disconnected from the conversation.
    • getDisconnectType

      public CobrowseMediaParticipant.DisconnectTypeEnum getDisconnectType()
    • setDisconnectType

      public void setDisconnectType(CobrowseMediaParticipant.DisconnectTypeEnum disconnectType)
    • held

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

      public Boolean getHeld()
    • setHeld

      public void setHeld(Boolean held)
    • wrapupRequired

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

      public Boolean getWrapupRequired()
    • setWrapupRequired

      public void setWrapupRequired(Boolean wrapupRequired)
    • wrapupPrompt

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

      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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant provider(String provider)
      The source provider for the communication.
    • getProvider

      public String getProvider()
    • setProvider

      public void setProvider(String provider)
    • externalContact

      public CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant wrapup(Wrapup wrapup)
      Wrapup for this participant, if it has been applied.
    • getWrapup

      public Wrapup getWrapup()
    • setWrapup

      public void setWrapup(Wrapup wrapup)
    • peer

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

      The reason specifying why participant flagged the conversation.
    • getFlaggedReason

      public CobrowseMediaParticipant.FlaggedReasonEnum getFlaggedReason()
    • setFlaggedReason

      public void setFlaggedReason(CobrowseMediaParticipant.FlaggedReasonEnum flaggedReason)
    • journeyContext

      public CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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 CobrowseMediaParticipant 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)
    • cobrowseSessionId

      public CobrowseMediaParticipant cobrowseSessionId(String cobrowseSessionId)
      The co-browse session ID.
    • getCobrowseSessionId

      public String getCobrowseSessionId()
    • setCobrowseSessionId

      public void setCobrowseSessionId(String cobrowseSessionId)
    • cobrowseRole

      public CobrowseMediaParticipant cobrowseRole(String cobrowseRole)
      This value identifies the role of the co-browse client within the co-browse session (a client is a sharer or a viewer).
    • getCobrowseRole

      public String getCobrowseRole()
    • setCobrowseRole

      public void setCobrowseRole(String cobrowseRole)
    • controlling

      public CobrowseMediaParticipant controlling(List<String> controlling)
      ID of co-browse participants for which this client has been granted control (list is empty if this client cannot control any shared pages).
    • getControlling

      public List<String> getControlling()
    • setControlling

      public void setControlling(List<String> controlling)
    • viewerUrl

      public CobrowseMediaParticipant viewerUrl(String viewerUrl)
      The URL that can be used to open co-browse session in web browser.
    • getViewerUrl

      public String getViewerUrl()
    • setViewerUrl

      public void setViewerUrl(String viewerUrl)
    • providerEventTime

      public CobrowseMediaParticipant providerEventTime(Date providerEventTime)
      The time when the provider event which triggered this conversation update happened in the corrected provider clock. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getProviderEventTime

      public Date getProviderEventTime()
    • setProviderEventTime

      public void setProviderEventTime(Date providerEventTime)
    • 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