Class ParticipantBasic

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

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

    • ParticipantBasic

      public ParticipantBasic()
  • Method Details

    • id

      public ParticipantBasic id(String id)
      A globally unique identifier for this conversation.
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • startTime

      public ParticipantBasic startTime(Date startTime)
      The timestamp when this participant joined the conversation in the provider clock. 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)
    • endTime

      public ParticipantBasic endTime(Date endTime)
      The timestamp when this participant 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
    • getEndTime

      public Date getEndTime()
    • setEndTime

      public void setEndTime(Date endTime)
    • connectedTime

      public ParticipantBasic connectedTime(Date connectedTime)
      The timestamp when this participant was connected to the conversation in the provider clock. 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)
    • name

      public ParticipantBasic name(String name)
      A human readable name identifying the participant.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • userUri

      public ParticipantBasic userUri(String userUri)
      If this participant represents a user, then this will be an URI that can be used to fetch the user.
    • getUserUri

      public String getUserUri()
    • setUserUri

      public void setUserUri(String userUri)
    • userId

      public ParticipantBasic userId(String userId)
      If this participant represents a user, then this will be the globally unique identifier for the user.
    • getUserId

      public String getUserId()
    • setUserId

      public void setUserId(String userId)
    • externalContactId

      public ParticipantBasic externalContactId(String externalContactId)
      If this participant represents an external contact, then this will be the globally unique identifier for the external contact.
    • getExternalContactId

      public String getExternalContactId()
    • setExternalContactId

      public void setExternalContactId(String externalContactId)
    • externalOrganizationId

      public ParticipantBasic externalOrganizationId(String externalOrganizationId)
      If this participant represents an external org, then this will be the globally unique identifier for the external org.
    • getExternalOrganizationId

      public String getExternalOrganizationId()
    • setExternalOrganizationId

      public void setExternalOrganizationId(String externalOrganizationId)
    • queueId

      public ParticipantBasic queueId(String queueId)
      If present, the queue id that the communication channel came in on.
    • getQueueId

      public String getQueueId()
    • setQueueId

      public void setQueueId(String queueId)
    • groupId

      public ParticipantBasic groupId(String groupId)
      If present, group of users the participant represents.
    • getGroupId

      public String getGroupId()
    • setGroupId

      public void setGroupId(String groupId)
    • teamId

      public ParticipantBasic teamId(String teamId)
      The team id that this participant is a member of when added to the conversation.
    • getTeamId

      public String getTeamId()
    • setTeamId

      public void setTeamId(String teamId)
    • queueName

      public ParticipantBasic queueName(String queueName)
      If present, the queue name that the communication channel came in on.
    • getQueueName

      public String getQueueName()
    • setQueueName

      public void setQueueName(String queueName)
    • purpose

      public ParticipantBasic purpose(String purpose)
      A well known string that specifies the purpose of this participant.
    • getPurpose

      public String getPurpose()
    • setPurpose

      public void setPurpose(String purpose)
    • participantType

      public ParticipantBasic participantType(String participantType)
      A well known string that specifies the type of this participant.
    • getParticipantType

      public String getParticipantType()
    • setParticipantType

      public void setParticipantType(String participantType)
    • consultParticipantId

      public ParticipantBasic consultParticipantId(String consultParticipantId)
      If this participant is part of a consult transfer, then this will be the participant id of the participant being transferred.
    • getConsultParticipantId

      public String getConsultParticipantId()
    • setConsultParticipantId

      public void setConsultParticipantId(String consultParticipantId)
    • address

      public ParticipantBasic address(String address)
      The address for the this participant. For a phone call this will be the ANI.
    • getAddress

      public String getAddress()
    • setAddress

      public void setAddress(String address)
    • ani

      public ParticipantBasic ani(String ani)
      The address for the this participant. For a phone call this will be the ANI.
    • getAni

      public String getAni()
    • setAni

      public void setAni(String ani)
    • aniName

      public ParticipantBasic aniName(String aniName)
      The ani-based name for this participant.
    • getAniName

      public String getAniName()
    • setAniName

      public void setAniName(String aniName)
    • dnis

      public ParticipantBasic dnis(String dnis)
      The address for the this participant. For a phone call this will be the ANI.
    • getDnis

      public String getDnis()
    • setDnis

      public void setDnis(String dnis)
    • locale

      public ParticipantBasic locale(String locale)
      An ISO 639 language code specifying the locale for this participant
    • getLocale

      public String getLocale()
    • setLocale

      public void setLocale(String locale)
    • wrapupRequired

      public ParticipantBasic wrapupRequired(Boolean wrapupRequired)
      True iff this participant is required to enter wrapup for this conversation.
    • getWrapupRequired

      public Boolean getWrapupRequired()
    • setWrapupRequired

      public void setWrapupRequired(Boolean wrapupRequired)
    • wrapupPrompt

      public ParticipantBasic wrapupPrompt(ParticipantBasic.WrapupPromptEnum wrapupPrompt)
      This field controls how the UI prompts the agent for a wrapup.
    • getWrapupPrompt

      public ParticipantBasic.WrapupPromptEnum getWrapupPrompt()
    • setWrapupPrompt

      public void setWrapupPrompt(ParticipantBasic.WrapupPromptEnum wrapupPrompt)
    • wrapupTimeoutMs

      public ParticipantBasic wrapupTimeoutMs(Integer wrapupTimeoutMs)
      Specifies how long a timed ACW session will last.
    • getWrapupTimeoutMs

      public Integer getWrapupTimeoutMs()
    • setWrapupTimeoutMs

      public void setWrapupTimeoutMs(Integer wrapupTimeoutMs)
    • wrapupSkipped

      public ParticipantBasic wrapupSkipped(Boolean wrapupSkipped)
      The UI sets this field when the agent chooses to skip entering a wrapup for this participant.
    • getWrapupSkipped

      public Boolean getWrapupSkipped()
    • setWrapupSkipped

      public void setWrapupSkipped(Boolean wrapupSkipped)
    • wrapup

      public ParticipantBasic wrapup(Wrapup wrapup)
      Call wrap up or disposition data.
    • getWrapup

      public Wrapup getWrapup()
    • setWrapup

      public void setWrapup(Wrapup wrapup)
    • mediaRoles

      public ParticipantBasic 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)
    • conversationRoutingData

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

      public ConversationRoutingData getConversationRoutingData()
    • setConversationRoutingData

      public void setConversationRoutingData(ConversationRoutingData conversationRoutingData)
    • alertingTimeoutMs

      public ParticipantBasic 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)
    • monitoredParticipantId

      public ParticipantBasic monitoredParticipantId(String monitoredParticipantId)
      If this participant is a monitor, then this will be the id of the participant that is being monitored.
    • getMonitoredParticipantId

      public String getMonitoredParticipantId()
    • setMonitoredParticipantId

      public void setMonitoredParticipantId(String monitoredParticipantId)
    • coachedParticipantId

      public ParticipantBasic coachedParticipantId(String coachedParticipantId)
      If this participant is a coach, then this will be the id of the participant that is being coached.
    • getCoachedParticipantId

      public String getCoachedParticipantId()
    • setCoachedParticipantId

      public void setCoachedParticipantId(String coachedParticipantId)
    • attributes

      public ParticipantBasic attributes(Map<String,String> attributes)
      Additional participant attributes
    • getAttributes

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

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

      public ParticipantBasic calls(List<CallBasic> calls)
    • getCalls

      public List<CallBasic> getCalls()
    • setCalls

      public void setCalls(List<CallBasic> calls)
    • callbacks

      public ParticipantBasic callbacks(List<CallbackBasic> callbacks)
    • getCallbacks

      public List<CallbackBasic> getCallbacks()
    • setCallbacks

      public void setCallbacks(List<CallbackBasic> callbacks)
    • chats

      public ParticipantBasic chats(List<ConversationChat> chats)
    • getChats

      public List<ConversationChat> getChats()
    • setChats

      public void setChats(List<ConversationChat> chats)
    • cobrowsesessions

      public ParticipantBasic cobrowsesessions(List<Cobrowsesession> cobrowsesessions)
    • getCobrowsesessions

      public List<Cobrowsesession> getCobrowsesessions()
    • setCobrowsesessions

      public void setCobrowsesessions(List<Cobrowsesession> cobrowsesessions)
    • emails

      public ParticipantBasic emails(List<Email> emails)
    • getEmails

      public List<Email> getEmails()
    • setEmails

      public void setEmails(List<Email> emails)
    • messages

      public ParticipantBasic messages(List<Message> messages)
    • getMessages

      public List<Message> getMessages()
    • setMessages

      public void setMessages(List<Message> messages)
    • screenshares

      public ParticipantBasic screenshares(List<Screenshare> screenshares)
    • getScreenshares

      public List<Screenshare> getScreenshares()
    • setScreenshares

      public void setScreenshares(List<Screenshare> screenshares)
    • socialExpressions

      public ParticipantBasic socialExpressions(List<SocialExpression> socialExpressions)
    • getSocialExpressions

      public List<SocialExpression> getSocialExpressions()
    • setSocialExpressions

      public void setSocialExpressions(List<SocialExpression> socialExpressions)
    • videos

      public ParticipantBasic videos(List<Video> videos)
    • getVideos

      public List<Video> getVideos()
    • setVideos

      public void setVideos(List<Video> videos)
    • evaluations

      public ParticipantBasic evaluations(List<Evaluation> evaluations)
    • getEvaluations

      public List<Evaluation> getEvaluations()
    • setEvaluations

      public void setEvaluations(List<Evaluation> evaluations)
    • screenRecordingState

      public ParticipantBasic screenRecordingState(ParticipantBasic.ScreenRecordingStateEnum screenRecordingState)
      The current screen recording state for this participant.
    • getScreenRecordingState

      public ParticipantBasic.ScreenRecordingStateEnum getScreenRecordingState()
    • setScreenRecordingState

      public void setScreenRecordingState(ParticipantBasic.ScreenRecordingStateEnum screenRecordingState)
    • flaggedReason

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

      public ParticipantBasic.FlaggedReasonEnum getFlaggedReason()
    • setFlaggedReason

      public void setFlaggedReason(ParticipantBasic.FlaggedReasonEnum flaggedReason)
    • startAcwTime

      public ParticipantBasic 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 ParticipantBasic 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)
    • bargedParticipantId

      public ParticipantBasic bargedParticipantId(String bargedParticipantId)
      If this participant barged in a participant's call, then this will be the id of the targeted participant.
    • getBargedParticipantId

      public String getBargedParticipantId()
    • setBargedParticipantId

      public void setBargedParticipantId(String bargedParticipantId)
    • 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