Package com.mypurecloud.sdk.v2.model
Class WorkitemVersion
java.lang.Object
com.mypurecloud.sdk.v2.model.WorkitemVersion
- All Implemented Interfaces:
Serializable
WorkitemVersion
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe assignment state of the workitem.static enumThe Category of the current Status of the Workitem. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionalertTimeoutSeconds(Integer alertTimeoutSeconds) The duration in seconds before an alert will timeout.assignee(UserReferenceWithName assignee) The assignee of the Workitem.assignmentState(WorkitemVersion.AssignmentStateEnum assignmentState) The assignment state of the workitem.autoStatusTransition(Boolean autoStatusTransition) Set it to false to disable auto status transition.autoStatusTransitionDetail(AutoStatusTransitionDetail autoStatusTransitionDetail) Auto status transition details of Workitem.customFields(Map<String, Object> customFields) Custom fields defined in the schema referenced by the Workitem.dateAssignmentStateChanged(Date dateAssignmentStateChanged) The assignment state change date.dateClosed(Date dateClosed) The date the Workitem was closed.dateCreated(Date dateCreated) The creation date of the Workitem.The due date of the Workitem.dateExpires(Date dateExpires) The expiry date of the Workitem.dateModified(Date dateModified) The modified date of the Workitem.dateStatusChanged(Date dateStatusChanged) The State change date.description(String description) The description of the Workitem.The division to which this entity belongs.durationSeconds(Integer durationSeconds) The estimated duration in seconds to complete the workitem.booleanexternalContact(ExternalContactReference externalContact) The external contact of the Workitem.externalTag(String externalTag) The external tag of the Workitem.getId()getName()getQueue()getTtl()getType()inthashCode()language(LanguageReference language) The language of the Workitem.modifiedBy(UserReference modifiedBy) The User who modified the Workitem.The name of the Workitem.preferredAgents(List<UserReference> preferredAgents) The preferred agents of the Workitem.The priority of the Workitem.queue(WorkitemQueueReference queue) The Workitems queue.reporter(UserReferenceWithName reporter) The reporter of the Workitem.schema(WorkitemSchema schema) The schema defining the custom fields of the Workitem.scoredAgents(List<WorkitemScoredAgent> scoredAgents) A list of scored agents for the Workitem.script(WorkitemScriptReference script) The script that will be executed for the Workitem.voidsetAlertTimeoutSeconds(Integer alertTimeoutSeconds) voidsetAssignee(UserReferenceWithName assignee) voidsetAssignmentState(WorkitemVersion.AssignmentStateEnum assignmentState) voidsetAutoStatusTransition(Boolean autoStatusTransition) voidsetAutoStatusTransitionDetail(AutoStatusTransitionDetail autoStatusTransitionDetail) voidsetCustomFields(Map<String, Object> customFields) voidsetDateAssignmentStateChanged(Date dateAssignmentStateChanged) voidsetDateClosed(Date dateClosed) voidsetDateCreated(Date dateCreated) voidsetDateDue(Date dateDue) voidsetDateExpires(Date dateExpires) voidsetDateModified(Date dateModified) voidsetDateStatusChanged(Date dateStatusChanged) voidsetDescription(String description) voidsetDivision(Division division) voidsetDurationSeconds(Integer durationSeconds) voidsetExternalContact(ExternalContactReference externalContact) voidsetExternalTag(String externalTag) voidsetLanguage(LanguageReference language) voidsetModifiedBy(UserReference modifiedBy) voidvoidsetPreferredAgents(List<UserReference> preferredAgents) voidsetPriority(Integer priority) voidsetQueue(WorkitemQueueReference queue) voidsetReporter(UserReferenceWithName reporter) voidsetSchema(WorkitemSchema schema) voidsetScoredAgents(List<WorkitemScoredAgent> scoredAgents) voidsetScript(WorkitemScriptReference script) voidsetSkills(List<RoutingSkillReference> skills) voidsetStatus(WorkitemStatusReference status) voidsetStatusCategory(WorkitemVersion.StatusCategoryEnum statusCategory) voidvoidsetType(WorktypeReference type) voidsetUtilizationLabel(WorkitemUtilizationLabelReference utilizationLabel) voidsetVersion(Integer version) voidsetWorkbin(WorkbinReference workbin) skills(List<RoutingSkillReference> skills) The skills of the Workitem.status(WorkitemStatusReference status) The current Status of the Workitem.statusCategory(WorkitemVersion.StatusCategoryEnum statusCategory) The Category of the current Status of the Workitem.toString()The time to live of the Workitem in seconds.type(WorktypeReference type) The Worktype of the Workitem.utilizationLabel(WorkitemUtilizationLabelReference utilizationLabel) The utilization label of the Workitem.Versionworkbin(WorkbinReference workbin) The Workbin that contains the Workitem.
-
Constructor Details
-
WorkitemVersion
public WorkitemVersion() -
WorkitemVersion
-
-
Method Details
-
getId
-
name
The name of the Workitem. -
getName
-
setName
-
division
The division to which this entity belongs. -
getDivision
-
setDivision
-
type
The Worktype of the Workitem. -
getType
-
setType
-
description
The description of the Workitem. -
getDescription
-
setDescription
-
language
The language of the Workitem. -
getLanguage
-
setLanguage
-
utilizationLabel
The utilization label of the Workitem. -
getUtilizationLabel
-
setUtilizationLabel
-
priority
The priority of the Workitem. The valid range is between -25,000,000 and 25,000,000. -
getPriority
-
setPriority
-
dateCreated
The creation date of the Workitem. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateCreated
-
setDateCreated
-
dateModified
The modified date of the Workitem. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateModified
-
setDateModified
-
dateDue
The due date of the Workitem. 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. 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. -
getDurationSeconds
-
setDurationSeconds
-
ttl
The time to live of the Workitem in seconds. -
getTtl
-
setTtl
-
status
The current Status of the Workitem. -
getStatus
-
setStatus
-
statusCategory
The Category of the current Status of the Workitem. -
getStatusCategory
-
setStatusCategory
-
dateStatusChanged
The State change date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateStatusChanged
-
setDateStatusChanged
-
dateClosed
The date the Workitem was closed. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateClosed
-
setDateClosed
-
workbin
The Workbin that contains the Workitem. -
getWorkbin
-
setWorkbin
-
reporter
The reporter of the Workitem. -
getReporter
-
setReporter
-
assignee
The assignee of the Workitem. -
getAssignee
-
setAssignee
-
externalContact
The external contact of the Workitem. -
getExternalContact
-
setExternalContact
-
externalTag
The external tag of the Workitem. -
getExternalTag
-
setExternalTag
-
modifiedBy
The User who modified the Workitem. -
getModifiedBy
-
setModifiedBy
-
queue
The Workitems queue. -
getQueue
-
setQueue
-
assignmentState
The assignment state of the workitem. -
getAssignmentState
-
setAssignmentState
-
dateAssignmentStateChanged
The assignment state change date. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss[.mmm]Z -
getDateAssignmentStateChanged
-
setDateAssignmentStateChanged
-
alertTimeoutSeconds
The duration in seconds before an alert will timeout. -
getAlertTimeoutSeconds
-
setAlertTimeoutSeconds
-
skills
The skills of the Workitem. -
getSkills
-
setSkills
-
preferredAgents
The preferred agents of the Workitem. -
getPreferredAgents
-
setPreferredAgents
-
autoStatusTransition
Set it to false to disable auto status transition. By default, it is enabled. -
getAutoStatusTransition
-
setAutoStatusTransition
-
schema
The schema defining the custom fields of the Workitem. The schema is inherited from the Workitems Worktype at creation time. -
getSchema
-
setSchema
-
customFields
Custom fields defined in the schema referenced by the Workitem. -
getCustomFields
-
setCustomFields
-
autoStatusTransitionDetail
public WorkitemVersion autoStatusTransitionDetail(AutoStatusTransitionDetail autoStatusTransitionDetail) Auto status transition details of Workitem. -
getAutoStatusTransitionDetail
-
setAutoStatusTransitionDetail
-
scoredAgents
A list of scored agents for the Workitem. -
getScoredAgents
-
setScoredAgents
-
script
The script that will be executed for the Workitem. -
getScript
-
setScript
-
version
Version -
getVersion
-
setVersion
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-