Class PendingWork

java.lang.Object
altitude.integrationServer.types.PendingWork

public class PendingWork extends Object
Represents a scheduled work pending for an agent. The work can be an outbound contact, a queued email, social, or a workflow task to pick up.
  • Constructor Details

    • PendingWork

      public PendingWork()
  • Method Details

    • getId

      public int getId()
      Identifier of the pending work.
    • setId

      public void setId(int value)
      Identifier of the pending work.
    • getAgentId

      public int getAgentId()
      Identifier of agent.
    • setAgentId

      public void setAgentId(int value)
      Identifier of agent.
    • getAgentName

      public String getAgentName()
      User name of the agent.
    • setAgentName

      public void setAgentName(String value)
      User name of the agent.
    • getAgentFullName

      public String getAgentFullName()
      Full name of the agent.
    • setAgentFullName

      public void setAgentFullName(String value)
      Full name of the agent.
    • getCampaignId

      public int getCampaignId()
      Identifier of campaign.
    • setCampaignId

      public void setCampaignId(int value)
      Identifier of campaign.
    • getCampaignName

      public String getCampaignName()
      Name of the campaign.
    • setCampaignName

      public void setCampaignName(String value)
      Name of the campaign.
    • getCampaignIsAnonymous

      public boolean getCampaignIsAnonymous()
      If true, the campaign is anonymous.
    • setCampaignIsAnonymous

      public void setCampaignIsAnonymous(boolean value)
      If true, the campaign is anonymous.
    • getSkillProfileName

      public String getSkillProfileName()
      Name of the skill profile.
    • setSkillProfileName

      public void setSkillProfileName(String value)
      Name of the skill profile.
    • getMoment

      public GregorianCalendar getMoment()
      Moment.
    • setMoment

      public void setMoment(GregorianCalendar value)
      Moment.
    • getPriority

      public int getPriority()
      Priority.
    • setPriority

      public void setPriority(int value)
      Priority.
    • getAbsolutePriority

      public int getAbsolutePriority()
      Absolute priority.
    • setAbsolutePriority

      public void setAbsolutePriority(int value)
      Absolute priority.
    • getAttributes

      public Attribute[] getAttributes()
      Attributes.
    • setAttributes

      public void setAttributes(Attribute[] value)
      Attributes.
    • getType

      public PendingWorkType getType()
      The type of the pending work.
    • setType

      public void setType(PendingWorkType value)
      The type of the pending work.
    • getMediaType

      public MediaType getMediaType()
      The media type of the pending work.
    • setMediaType

      public void setMediaType(MediaType value)
      The media type of the pending work.
    • getContact

      public ContactPendingWork getContact()
      The specific contact data. This field is only specified if the Type is a PendingWorkType.Contact.
    • setContact

      public void setContact(ContactPendingWork value)
      The specific contact data. This field is only specified if the Type is a PendingWorkType.Contact.
    • getContactProfile

      public ContactProfilePendingWork getContactProfile()
      The contact profile data. This field is only specified if the Type is a PendingWorkType.Contact.
    • setContactProfile

      public void setContactProfile(ContactProfilePendingWork value)
      The contact profile data. This field is only specified if the Type is a PendingWorkType.Contact.
    • getEmail

      public EmailPendingWork getEmail()
      The specific queued email data. This field is only specified if the MediaType is MediaType.Email.
    • setEmail

      public void setEmail(EmailPendingWork value)
      The specific queued email data. This field is only specified if the MediaType is MediaType.Email.
    • getSocial

      public SocialPendingWork getSocial()
      The specific queued social data. This field is only specified if the MediaType is MediaType.Social.
    • setSocial

      public void setSocial(SocialPendingWork value)
      The specific queued social data. This field is only specified if the MediaType is MediaType.Social.
    • getWorkflow

      public WorkflowPendingWork getWorkflow()
      The specific workflow data. This field is only specified if the Type is a PendingWorkType.Workflow or the MediaType is MediaType.Workflow.
    • setWorkflow

      public void setWorkflow(WorkflowPendingWork value)
      The specific workflow data. This field is only specified if the Type is a PendingWorkType.Workflow or the MediaType is MediaType.Workflow.