Package com.mypurecloud.sdk.v2.model
Class WorkPlanActivity
java.lang.Object
com.mypurecloud.sdk.v2.model.WorkPlanActivity
- All Implemented Interfaces:
Serializable
WorkPlanActivity
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityCodeId(String activityCodeId) ID of the activity code associated with this activitycountsAsContiguousWorkTime(Boolean countsAsContiguousWorkTime) Whether the activity duration is counted towards contiguous work timecountsAsPaidTime(Boolean countsAsPaidTime) Whether the activity is paidIf marked true for updating an existing activity, the activity will be permanently deleteddescription(String description) Description of the activityearliestStartTimeMinutes(Integer earliestStartTimeMinutes) Earliest activity start in offset minutes relative to shift start time if startTimeIsRelativeToShiftStart == true else its based on midnight.booleanexactStartTimeMinutes(Integer exactStartTimeMinutes) Exact activity start in offset minutes relative to shift start time if startTimeIsRelativeToShiftStart == true else its based on midnight.flexibleStartTime(Boolean flexibleStartTime) Whether the start time of the activity is flexiblegetId()inthashCode()ID of the activity.latestStartTimeMinutes(Integer latestStartTimeMinutes) Latest activity start in offset minutes relative to shift start time if startTimeIsRelativeToShiftStart == true else its based on midnight.lengthMinutes(Integer lengthMinutes) Length of the activity in minutesmaximumLengthFromShiftEndMinutes(Integer maximumLengthFromShiftEndMinutes) The maximum duration between shift item (e.g., break or meal) end and shift end in minutesminimumLengthFromShiftEndMinutes(Integer minimumLengthFromShiftEndMinutes) The minimum duration between shift item (e.g., break or meal) end and shift end in minutesminimumLengthFromShiftStartMinutes(Integer minimumLengthFromShiftStartMinutes) The minimum duration between shift start and shift item (e.g., break or meal) start in minutesvoidsetActivityCodeId(String activityCodeId) voidsetCountsAsContiguousWorkTime(Boolean countsAsContiguousWorkTime) voidsetCountsAsPaidTime(Boolean countsAsPaidTime) voidvoidsetDescription(String description) voidsetEarliestStartTimeMinutes(Integer earliestStartTimeMinutes) voidsetExactStartTimeMinutes(Integer exactStartTimeMinutes) voidsetFlexibleStartTime(Boolean flexibleStartTime) voidvoidsetLatestStartTimeMinutes(Integer latestStartTimeMinutes) voidsetLengthMinutes(Integer lengthMinutes) voidsetMaximumLengthFromShiftEndMinutes(Integer maximumLengthFromShiftEndMinutes) voidsetMinimumLengthFromShiftEndMinutes(Integer minimumLengthFromShiftEndMinutes) voidsetMinimumLengthFromShiftStartMinutes(Integer minimumLengthFromShiftStartMinutes) voidsetStartTimeIncrementMinutes(Integer startTimeIncrementMinutes) voidsetStartTimeIsRelativeToShiftStart(Boolean startTimeIsRelativeToShiftStart) voidsetValidationId(String validationId) startTimeIncrementMinutes(Integer startTimeIncrementMinutes) Increment in offset minutes that would contribute to different possible start times for the activitystartTimeIsRelativeToShiftStart(Boolean startTimeIsRelativeToShiftStart) Whether the start time of the activity is relative to the start time of the shift it belongs totoString()validationId(String validationId) ID of the activity in the context of work plan validation
-
Constructor Details
-
WorkPlanActivity
public WorkPlanActivity() -
WorkPlanActivity
-
-
Method Details
-
activityCodeId
ID of the activity code associated with this activity -
getActivityCodeId
-
setActivityCodeId
-
description
Description of the activity -
getDescription
-
setDescription
-
lengthMinutes
Length of the activity in minutes -
getLengthMinutes
-
setLengthMinutes
-
startTimeIsRelativeToShiftStart
Whether the start time of the activity is relative to the start time of the shift it belongs to -
getStartTimeIsRelativeToShiftStart
-
setStartTimeIsRelativeToShiftStart
-
flexibleStartTime
Whether the start time of the activity is flexible -
getFlexibleStartTime
-
setFlexibleStartTime
-
earliestStartTimeMinutes
Earliest activity start in offset minutes relative to shift start time if startTimeIsRelativeToShiftStart == true else its based on midnight. Used if flexibleStartTime == true -
getEarliestStartTimeMinutes
-
setEarliestStartTimeMinutes
-
latestStartTimeMinutes
Latest activity start in offset minutes relative to shift start time if startTimeIsRelativeToShiftStart == true else its based on midnight. Used if flexibleStartTime == true -
getLatestStartTimeMinutes
-
setLatestStartTimeMinutes
-
exactStartTimeMinutes
Exact activity start in offset minutes relative to shift start time if startTimeIsRelativeToShiftStart == true else its based on midnight. Used if flexibleStartTime == false -
getExactStartTimeMinutes
-
setExactStartTimeMinutes
-
startTimeIncrementMinutes
Increment in offset minutes that would contribute to different possible start times for the activity -
getStartTimeIncrementMinutes
-
setStartTimeIncrementMinutes
-
countsAsPaidTime
Whether the activity is paid -
getCountsAsPaidTime
-
setCountsAsPaidTime
-
countsAsContiguousWorkTime
Whether the activity duration is counted towards contiguous work time -
getCountsAsContiguousWorkTime
-
setCountsAsContiguousWorkTime
-
minimumLengthFromShiftStartMinutes
public WorkPlanActivity minimumLengthFromShiftStartMinutes(Integer minimumLengthFromShiftStartMinutes) The minimum duration between shift start and shift item (e.g., break or meal) start in minutes -
getMinimumLengthFromShiftStartMinutes
-
setMinimumLengthFromShiftStartMinutes
-
minimumLengthFromShiftEndMinutes
The minimum duration between shift item (e.g., break or meal) end and shift end in minutes -
getMinimumLengthFromShiftEndMinutes
-
setMinimumLengthFromShiftEndMinutes
-
maximumLengthFromShiftEndMinutes
The maximum duration between shift item (e.g., break or meal) end and shift end in minutes -
getMaximumLengthFromShiftEndMinutes
-
setMaximumLengthFromShiftEndMinutes
-
id
ID of the activity. This is required only for the case of updating an existing activity -
getId
-
setId
-
delete
If marked true for updating an existing activity, the activity will be permanently deleted -
getDelete
-
setDelete
-
validationId
ID of the activity in the context of work plan validation -
getValidationId
-
setValidationId
-
equals
-
hashCode
public int hashCode() -
toString
-