Class WorktypeCreate

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

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

    • WorktypeCreate

      public WorktypeCreate()
    • WorktypeCreate

      public WorktypeCreate(Boolean initWithEmptyList)
  • Method Details

    • name

      public WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate 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 WorktypeCreate ruleSettings(WorkitemRuleSettings ruleSettings)
      Settings for the worktypes rules.
    • getRuleSettings

      public WorkitemRuleSettings getRuleSettings()
    • setRuleSettings

      public void setRuleSettings(WorkitemRuleSettings ruleSettings)
    • unassignedDivisionContactsEnabled

      public WorktypeCreate 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 WorktypeCreate description(String description)
      The description of the Worktype. Maximum length of 512 characters.
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • divisionId

      public WorktypeCreate divisionId(String divisionId)
      The ID of the division the Worktype belongs to. Defaults to the default Workbin division ID. The Worktype must be in the same division as its default Workbin.
    • getDivisionId

      public String getDivisionId()
    • setDivisionId

      public void setDivisionId(String divisionId)
    • disableDefaultStatusCreation

      public WorktypeCreate disableDefaultStatusCreation(Boolean disableDefaultStatusCreation)
      Set to true to disable default status creation. Default statuses are created with the Worktype by default
    • getDisableDefaultStatusCreation

      public Boolean getDisableDefaultStatusCreation()
    • setDisableDefaultStatusCreation

      public void setDisableDefaultStatusCreation(Boolean disableDefaultStatusCreation)
    • schemaVersion

      public WorktypeCreate 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)
    • defaultQueueId

      public WorktypeCreate 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)
    • defaultLanguageId

      public WorktypeCreate 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 WorktypeCreate 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)
    • defaultScriptId

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