Class WorktypeUpdate

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

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

    • WorktypeUpdate

      public WorktypeUpdate()
    • WorktypeUpdate

      public WorktypeUpdate(Boolean initWithEmptyList)
  • Method Details

    • name

      public WorktypeUpdate name(String name)
      The name of the Worktype. Valid length between 3 and 256 characters.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • defaultWorkbinId

      public WorktypeUpdate defaultWorkbinId(String defaultWorkbinId)
      The ID of the default Workbin for Workitems created from the Worktype.
    • getDefaultWorkbinId

      public String getDefaultWorkbinId()
    • setDefaultWorkbinId

      public void setDefaultWorkbinId(String defaultWorkbinId)
    • defaultDurationSeconds

      public WorktypeUpdate defaultDurationSeconds(Integer defaultDurationSeconds)
      The default duration in seconds for Workitems created from the Worktype. Maximum of 365 days. minimum: 0 maximum: 31536000
    • getDefaultDurationSeconds

      public Integer getDefaultDurationSeconds()
    • setDefaultDurationSeconds

      public void setDefaultDurationSeconds(Integer defaultDurationSeconds)
    • defaultExpirationSeconds

      public WorktypeUpdate defaultExpirationSeconds(Integer defaultExpirationSeconds)
      The default expiration time in seconds for Workitems created from the Worktype. Maximum of 365 days. minimum: 0 maximum: 31536000
    • getDefaultExpirationSeconds

      public Integer getDefaultExpirationSeconds()
    • setDefaultExpirationSeconds

      public void setDefaultExpirationSeconds(Integer defaultExpirationSeconds)
    • defaultDueDurationSeconds

      public WorktypeUpdate defaultDueDurationSeconds(Integer defaultDueDurationSeconds)
      The default due duration in seconds for Workitems created from the Worktype. Maximum of 365 days. minimum: 0 maximum: 31536000
    • getDefaultDueDurationSeconds

      public Integer getDefaultDueDurationSeconds()
    • setDefaultDueDurationSeconds

      public void setDefaultDueDurationSeconds(Integer defaultDueDurationSeconds)
    • defaultPriority

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

      public Integer getDefaultPriority()
    • setDefaultPriority

      public void setDefaultPriority(Integer defaultPriority)
    • defaultTtlSeconds

      public WorktypeUpdate defaultTtlSeconds(Integer defaultTtlSeconds)
      The default time to time to live in seconds for Workitems created from the Worktype. The valid range is between 1 and 365 days. minimum: 86400 maximum: 31536000
    • getDefaultTtlSeconds

      public Integer getDefaultTtlSeconds()
    • setDefaultTtlSeconds

      public void setDefaultTtlSeconds(Integer defaultTtlSeconds)
    • assignmentEnabled

      public WorktypeUpdate 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)
    • schemaId

      public WorktypeUpdate schemaId(String schemaId)
      The ID of the custom attribute schema for Workitems created from the Worktype. Must be a valid UUID.
    • getSchemaId

      public String getSchemaId()
    • setSchemaId

      public void setSchemaId(String schemaId)
    • serviceLevelTarget

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

      public Integer getServiceLevelTarget()
    • setServiceLevelTarget

      public void setServiceLevelTarget(Integer serviceLevelTarget)
    • ruleSettings

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

      public WorkitemRuleSettings getRuleSettings()
    • setRuleSettings

      public void setRuleSettings(WorkitemRuleSettings ruleSettings)
    • unassignedDivisionContactsEnabled

      public WorktypeUpdate 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)
    • description

      public WorktypeUpdate description(String description)
      The description of the Worktype. Maximum length of 512 characters.
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • defaultStatusId

      public WorktypeUpdate defaultStatusId(String defaultStatusId)
      The ID of the default status for Workitems created from the Worktype. Must be a valid UUID.
    • getDefaultStatusId

      public String getDefaultStatusId()
    • setDefaultStatusId

      public void setDefaultStatusId(String defaultStatusId)
    • schemaVersion

      public WorktypeUpdate schemaVersion(Integer schemaVersion)
      The version of the Worktypes custom attribute schema. The latest schema version will be used if this property is not set.
    • getSchemaVersion

      public Integer getSchemaVersion()
    • setSchemaVersion

      public void setSchemaVersion(Integer schemaVersion)
    • defaultLanguageId

      public WorktypeUpdate defaultLanguageId(String defaultLanguageId)
      The ID of the default language for Workitems created from the Worktype. Must be a valid UUID.
    • getDefaultLanguageId

      public String getDefaultLanguageId()
    • setDefaultLanguageId

      public void setDefaultLanguageId(String defaultLanguageId)
    • defaultSkillIds

      public WorktypeUpdate defaultSkillIds(List<String> defaultSkillIds)
      The IDs of the default skills for Workitems created from the Worktype. Must be valid UUIDs. Maximum of 20 IDs
    • getDefaultSkillIds

      public List<String> getDefaultSkillIds()
    • setDefaultSkillIds

      public void setDefaultSkillIds(List<String> defaultSkillIds)
    • defaultQueueId

      public WorktypeUpdate defaultQueueId(String defaultQueueId)
      The ID of the default queue for Workitems created from the Worktype. Must be a valid UUID.
    • getDefaultQueueId

      public String getDefaultQueueId()
    • setDefaultQueueId

      public void setDefaultQueueId(String defaultQueueId)
    • defaultScriptId

      public WorktypeUpdate defaultScriptId(String defaultScriptId)
      The default script for Workitems created from the Worktype. Must be a valid UUID.
    • getDefaultScriptId

      public String getDefaultScriptId()
    • setDefaultScriptId

      public void setDefaultScriptId(String defaultScriptId)
    • 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