Package com.mypurecloud.sdk.v2.model
Class ActivityCode
java.lang.Object
com.mypurecloud.sdk.v2.model.ActivityCode
- All Implemented Interfaces:
Serializable
ActivityCode
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe activity code's category. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentTimeOffSelectable(Boolean agentTimeOffSelectable) Whether an agent can select this activity code when creating or editing a time off request.category(ActivityCode.CategoryEnum category) The activity code's category.countsAsPaidTime(Boolean countsAsPaidTime) Whether an agent is paid while performing this activitycountsAsWorkTime(Boolean countsAsWorkTime) Indicates whether or not the activity should be counted as contiguous work time for calculating daily constraintsbooleangetId()getName()inthashCode()The globally unique identifier for the object.Whether this activity code is active or has been deletedWhether this is a default activity codelengthInMinutes(Integer lengthInMinutes) The default length of the activity in minutesmetadata(WfmVersionedEntityMetadata metadata) Version metadata for the associated management unit's list of activity codesThe name of the activity code.voidsetAgentTimeOffSelectable(Boolean agentTimeOffSelectable) voidsetCategory(ActivityCode.CategoryEnum category) voidsetCountsAsPaidTime(Boolean countsAsPaidTime) voidsetCountsAsWorkTime(Boolean countsAsWorkTime) voidvoidsetIsActive(Boolean isActive) voidsetIsDefault(Boolean isDefault) voidsetLengthInMinutes(Integer lengthInMinutes) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidtoString()
-
Constructor Details
-
ActivityCode
public ActivityCode() -
ActivityCode
-
-
Method Details
-
id
The globally unique identifier for the object. -
getId
-
setId
-
getSelfUri
-
name
The name of the activity code. Default activity codes will be created with an empty name -
getName
-
setName
-
isActive
Whether this activity code is active or has been deleted -
getIsActive
-
setIsActive
-
isDefault
Whether this is a default activity code -
getIsDefault
-
setIsDefault
-
category
The activity code's category. -
getCategory
-
setCategory
-
lengthInMinutes
The default length of the activity in minutes -
getLengthInMinutes
-
setLengthInMinutes
-
countsAsPaidTime
Whether an agent is paid while performing this activity -
getCountsAsPaidTime
-
setCountsAsPaidTime
-
countsAsWorkTime
Indicates whether or not the activity should be counted as contiguous work time for calculating daily constraints -
getCountsAsWorkTime
-
setCountsAsWorkTime
-
agentTimeOffSelectable
Whether an agent can select this activity code when creating or editing a time off request. Null if the activity's category is not time off. -
getAgentTimeOffSelectable
-
setAgentTimeOffSelectable
-
metadata
Version metadata for the associated management unit's list of activity codes -
getMetadata
-
setMetadata
-
equals
-
hashCode
public int hashCode() -
toString
-