Class Worktype

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

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

    • Worktype

      public Worktype()
    • Worktype

      public Worktype(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public Worktype name(String name)
      The name of the Worktype.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • division

      public Worktype division(Division division)
      The division to which this entity belongs.
    • getDivision

      public Division getDivision()
    • setDivision

      public void setDivision(Division division)
    • description

      public Worktype description(String description)
      The description of the Worktype.
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • dateCreated

      public Worktype dateCreated(Date dateCreated)
      The creation date of the Worktype. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateCreated

      public Date getDateCreated()
    • setDateCreated

      public void setDateCreated(Date dateCreated)
    • dateModified

      public Worktype dateModified(Date dateModified)
      The modified date of the Worktype. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z
    • getDateModified

      public Date getDateModified()
    • setDateModified

      public void setDateModified(Date dateModified)
    • defaultWorkbin

      public Worktype defaultWorkbin(WorkbinReference defaultWorkbin)
      The default Workbin for Workitems created from the Worktype.
    • getDefaultWorkbin

      public WorkbinReference getDefaultWorkbin()
    • setDefaultWorkbin

      public void setDefaultWorkbin(WorkbinReference defaultWorkbin)
    • defaultStatus

      public Worktype defaultStatus(WorkitemStatusReference defaultStatus)
      The default status for Workitems created from the Worktype.
    • getDefaultStatus

      public WorkitemStatusReference getDefaultStatus()
    • setDefaultStatus

      public void setDefaultStatus(WorkitemStatusReference defaultStatus)
    • statuses

      public Worktype statuses(List<WorkitemStatus> statuses)
      The list of possible statuses for Workitems created from the Worktype.
    • getStatuses

      public List<WorkitemStatus> getStatuses()
    • setStatuses

      public void setStatuses(List<WorkitemStatus> statuses)
    • defaultDurationSeconds

      public Worktype defaultDurationSeconds(Integer defaultDurationSeconds)
      The default duration in seconds for Workitems created from the Worktype.
    • getDefaultDurationSeconds

      public Integer getDefaultDurationSeconds()
    • setDefaultDurationSeconds

      public void setDefaultDurationSeconds(Integer defaultDurationSeconds)
    • defaultExpirationSeconds

      public Worktype defaultExpirationSeconds(Integer defaultExpirationSeconds)
      The default expiration time in seconds for Workitems created from the Worktype.
    • getDefaultExpirationSeconds

      public Integer getDefaultExpirationSeconds()
    • setDefaultExpirationSeconds

      public void setDefaultExpirationSeconds(Integer defaultExpirationSeconds)
    • defaultDueDurationSeconds

      public Worktype defaultDueDurationSeconds(Integer defaultDueDurationSeconds)
      The default due duration in seconds for Workitems created from the Worktype.
    • getDefaultDueDurationSeconds

      public Integer getDefaultDueDurationSeconds()
    • setDefaultDueDurationSeconds

      public void setDefaultDueDurationSeconds(Integer defaultDueDurationSeconds)
    • defaultPriority

      public Worktype defaultPriority(Integer defaultPriority)
      The default priority for Workitems created from the Worktype. The valid range is between -25,000,000 and 25,000,000.
    • getDefaultPriority

      public Integer getDefaultPriority()
    • setDefaultPriority

      public void setDefaultPriority(Integer defaultPriority)
    • defaultLanguage

      public Worktype defaultLanguage(LanguageReference defaultLanguage)
      The default language for Workitems created from the Worktype.
    • getDefaultLanguage

      public LanguageReference getDefaultLanguage()
    • setDefaultLanguage

      public void setDefaultLanguage(LanguageReference defaultLanguage)
    • defaultTtlSeconds

      public Worktype defaultTtlSeconds(Integer defaultTtlSeconds)
      The default time to time to live in seconds for Workitems created from the Worktype.
    • getDefaultTtlSeconds

      public Integer getDefaultTtlSeconds()
    • setDefaultTtlSeconds

      public void setDefaultTtlSeconds(Integer defaultTtlSeconds)
    • modifiedBy

      public Worktype modifiedBy(UserReference modifiedBy)
      The id of the User who modified the Worktype.
    • getModifiedBy

      public UserReference getModifiedBy()
    • setModifiedBy

      public void setModifiedBy(UserReference modifiedBy)
    • defaultQueue

      public Worktype defaultQueue(WorkitemQueueReference defaultQueue)
      The default queue for Workitems created from the Worktype.
    • getDefaultQueue

      public WorkitemQueueReference getDefaultQueue()
    • setDefaultQueue

      public void setDefaultQueue(WorkitemQueueReference defaultQueue)
    • defaultSkills

      public Worktype defaultSkills(List<RoutingSkillReference> defaultSkills)
      The default skills for Workitems created from the Worktype.
    • getDefaultSkills

      public List<RoutingSkillReference> getDefaultSkills()
    • setDefaultSkills

      public void setDefaultSkills(List<RoutingSkillReference> defaultSkills)
    • assignmentEnabled

      public Worktype assignmentEnabled(Boolean assignmentEnabled)
      When set to true, Workitems will be sent to the queue of the Worktype as they are created. Default value is false.
    • getAssignmentEnabled

      public Boolean getAssignmentEnabled()
    • setAssignmentEnabled

      public void setAssignmentEnabled(Boolean assignmentEnabled)
    • schema

      public Worktype schema(WorkitemSchema schema)
      The schema defining the custom attributes for Workitems created from the Worktype.
    • getSchema

      public WorkitemSchema getSchema()
    • setSchema

      public void setSchema(WorkitemSchema schema)
    • serviceLevelTarget

      public Worktype serviceLevelTarget(Integer serviceLevelTarget)
      The target service level for Workitems created from the Worktype. The default value is 100.
    • getServiceLevelTarget

      public Integer getServiceLevelTarget()
    • setServiceLevelTarget

      public void setServiceLevelTarget(Integer serviceLevelTarget)
    • ruleSettings

      public Worktype ruleSettings(WorkitemRuleSettings ruleSettings)
      Settings for the worktypes rules.
    • getRuleSettings

      public WorkitemRuleSettings getRuleSettings()
    • setRuleSettings

      public void setRuleSettings(WorkitemRuleSettings ruleSettings)
    • flow

      public Worktype flow(WorkitemFlowReference flow)
      The flow associated with the Worktype.
    • getFlow

      public WorkitemFlowReference getFlow()
    • setFlow

      public void setFlow(WorkitemFlowReference flow)
    • defaultScript

      public Worktype defaultScript(WorkitemScriptReference defaultScript)
      The default script for Workitems created from the Worktype.
    • getDefaultScript

      public WorkitemScriptReference getDefaultScript()
    • setDefaultScript

      public void setDefaultScript(WorkitemScriptReference defaultScript)
    • unassignedDivisionContactsEnabled

      public Worktype unassignedDivisionContactsEnabled(Boolean unassignedDivisionContactsEnabled)
      When set to true, will allow Workitems to be associated with External Contacts that are not assigned to any division. Default value is true.
    • getUnassignedDivisionContactsEnabled

      public Boolean getUnassignedDivisionContactsEnabled()
    • setUnassignedDivisionContactsEnabled

      public void setUnassignedDivisionContactsEnabled(Boolean unassignedDivisionContactsEnabled)
    • getSelfUri

      public String getSelfUri()
    • 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