Package com.mypurecloud.sdk.v2.model
Class WorkitemUpdate
java.lang.Object
com.mypurecloud.sdk.v2.model.WorkitemUpdate
- All Implemented Interfaces:
Serializable
WorkitemUpdate
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumSet this value to AgentAssignmentAlerting and supply an 'assigneeId' to assign the workitem to an agent and alert the agent of the assignment.static enumThe assignment state of the Workitem. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassigneeId(String assigneeId) The ID of the assignee of the Workitem.assignmentOperation(WorkitemUpdate.AssignmentOperationEnum assignmentOperation) Set this value to AgentAssignmentAlerting and supply an 'assigneeId' to assign the workitem to an agent and alert the agent of the assignment.assignmentState(WorkitemUpdate.AssignmentStateEnum assignmentState) The assignment state 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.dateClosed(Date dateClosed) The closed date 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) voidsetAssignmentOperation(WorkitemUpdate.AssignmentOperationEnum assignmentOperation) voidsetAssignmentState(WorkitemUpdate.AssignmentStateEnum assignmentState) voidsetAutoStatusTransition(Boolean autoStatusTransition) voidsetCustomFields(Map<String, Object> customFields) voidsetDateClosed(Date dateClosed) 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) voidvoidsetUtilizationLabelId(String utilizationLabelId) voidsetWorkbinId(String workbinId) 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.utilizationLabelId(String utilizationLabelId) The ID of the utilization label of the Workitem.The ID of Workbin that contains the Workitem.
-
Constructor Details
-
WorkitemUpdate
public WorkitemUpdate() -
WorkitemUpdate
-
-
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
-
dateClosed
The closed date of the Workitem. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateClosed
-
setDateClosed
-
assignmentState
The assignment state of the Workitem. -
getAssignmentState
-
setAssignmentState
-
assignmentOperation
public WorkitemUpdate assignmentOperation(WorkitemUpdate.AssignmentOperationEnum assignmentOperation) Set this value to AgentAssignmentAlerting and supply an 'assigneeId' to assign the workitem to an agent and alert the agent of the assignment. Set this value to QueueAssignmentAlerting and supply a 'queueId' to route the workitem to an agent who is a member of the queue and alert the agent. -
getAssignmentOperation
-
setAssignmentOperation
-
customFields
Custom fields defined in the schema referenced by the worktype of the workitem. If set to {}, the existing keys and values will be removed. -
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. If supplied it must be a valid UUID. -
getAssigneeId
-
setAssigneeId
-
scoredAgents
A list of scored agents for the Workitem. A workitem can have a maximum of 20 scored agents. -
getScoredAgents
-
setScoredAgents
-
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
-
languageId
The ID of language of the Workitem. Must be a valid UUID. -
getLanguageId
-
setLanguageId
-
utilizationLabelId
The ID of the utilization label of the Workitem. Must be a valid UUID. -
getUtilizationLabelId
-
setUtilizationLabelId
-
preferredAgentIds
The preferred agent IDs of the Workitem. Must be valid UUIDs. -
getPreferredAgentIds
-
setPreferredAgentIds
-
scriptId
The ID of the Workitems script. Must be a valid UUID. -
getScriptId
-
setScriptId
-
equals
-
hashCode
public int hashCode() -
toString
-