Package com.mypurecloud.sdk.v2.model
Class WorkitemCreate
java.lang.Object
com.mypurecloud.sdk.v2.model.WorkitemCreate
- All Implemented Interfaces:
Serializable
WorkitemCreate
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassigneeId(String assigneeId) The ID of the assignee of the Workitem.autoStatusTransition(Boolean autoStatusTransition) Set it to false to disable auto status transition.customFields(Map<String, Object> customFields) Custom fields defined in the schema referenced by the worktype of the workitem.The due date of the Workitem.dateExpires(Date dateExpires) The expiry date of the Workitem.description(String description) The description of the Workitem.durationSeconds(Integer durationSeconds) The estimated duration in seconds to complete the Workitem.booleanexternalContactId(String externalContactId) The ID of the external contact of the Workitem.externalTag(String externalTag) The external tag of the Workitem.getName()getTtl()inthashCode()languageId(String languageId) The ID of language of the Workitem.The name of the Workitem.preferredAgentIds(List<String> preferredAgentIds) The preferred agent IDs of the Workitem.The priority of the Workitem.The ID of the Workitems queue.scoredAgents(List<WorkitemScoredAgentRequest> scoredAgents) A list of scored agents for the Workitem.The ID of the Workitems script.voidsetAssigneeId(String assigneeId) voidsetAutoStatusTransition(Boolean autoStatusTransition) voidsetCustomFields(Map<String, Object> customFields) voidsetDateDue(Date dateDue) voidsetDateExpires(Date dateExpires) voidsetDescription(String description) voidsetDurationSeconds(Integer durationSeconds) voidsetExternalContactId(String externalContactId) voidsetExternalTag(String externalTag) voidsetLanguageId(String languageId) voidvoidsetPreferredAgentIds(List<String> preferredAgentIds) voidsetPriority(Integer priority) voidsetQueueId(String queueId) voidsetScoredAgents(List<WorkitemScoredAgentRequest> scoredAgents) voidsetScriptId(String scriptId) voidsetSkillIds(List<String> skillIds) voidsetStatusId(String statusId) voidvoidvoidsetUtilizationLabelId(String utilizationLabelId) voidsetWorkbinId(String workbinId) voidsetWrapupCode(String wrapupCode) The skill IDs of the Workitem.The ID of the Status of the Workitem.toString()The epoch timestamp in seconds specifying the time to live for the Workitem.The ID of the Worktype of the Workitem.utilizationLabelId(String utilizationLabelId) The ID of utilization label of the Workitem.The ID of Workbin that contains the Workitem.wrapupCode(String wrapupCode) The ID of the wrapup.
-
Constructor Details
-
WorkitemCreate
public WorkitemCreate() -
WorkitemCreate
-
-
Method Details
-
name
The name of the Workitem. Valid length between 3 and 256 characters. -
getName
-
setName
-
priority
The priority of the Workitem. The valid range is between -25,000,000 and 25,000,000. -
getPriority
-
setPriority
-
dateDue
The due date of the Workitem. Can not be greater than 365 days from the current time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateDue
-
setDateDue
-
dateExpires
The expiry date of the Workitem. Can not be greater than 365 days from the current time. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateExpires
-
setDateExpires
-
durationSeconds
The estimated duration in seconds to complete the Workitem. Maximum of 365 days. -
getDurationSeconds
-
setDurationSeconds
-
ttl
The epoch timestamp in seconds specifying the time to live for the Workitem. Can not be greater than 365 days from the current time. -
getTtl
-
setTtl
-
statusId
The ID of the Status of the Workitem. -
getStatusId
-
setStatusId
-
workbinId
The ID of Workbin that contains the Workitem. -
getWorkbinId
-
setWorkbinId
-
autoStatusTransition
Set it to false to disable auto status transition. By default, it is enabled. -
getAutoStatusTransition
-
setAutoStatusTransition
-
description
The description of the Workitem. Maximum length of 512 characters. -
getDescription
-
setDescription
-
typeId
The ID of the Worktype of the Workitem. -
getTypeId
-
setTypeId
-
customFields
Custom fields defined in the schema referenced by the worktype of the workitem. -
getCustomFields
-
setCustomFields
-
queueId
The ID of the Workitems queue. Must be a valid UUID. -
getQueueId
-
setQueueId
-
assigneeId
The ID of the assignee of the Workitem. Must be a valid UUID. -
getAssigneeId
-
setAssigneeId
-
languageId
The ID of language of the Workitem. Must be a valid UUID. -
getLanguageId
-
setLanguageId
-
externalContactId
The ID of the external contact of the Workitem. Must be a valid UUID. -
getExternalContactId
-
setExternalContactId
-
externalTag
The external tag of the Workitem. -
getExternalTag
-
setExternalTag
-
skillIds
The skill IDs of the Workitem. Must be valid UUIDs. -
getSkillIds
-
setSkillIds
-
scriptId
The ID of the Workitems script. Must be a valid UUID. -
getScriptId
-
setScriptId
-
wrapupCode
The ID of the wrapup. Must be a valid UUID. -
getWrapupCode
-
setWrapupCode
-
utilizationLabelId
The ID of utilization label of the Workitem. Must be a valid UUID. -
getUtilizationLabelId
-
setUtilizationLabelId
-
scoredAgents
A list of scored agents for the Workitem. A workitem can have a maximum of 20 scored agents. -
getScoredAgents
-
setScoredAgents
-
preferredAgentIds
The preferred agent IDs of the Workitem. Must be valid UUIDs. -
getPreferredAgentIds
-
setPreferredAgentIds
-
equals
-
hashCode
public int hashCode() -
toString
-