Package com.mypurecloud.sdk.v2.model
Class WorkPlan
java.lang.Object
com.mypurecloud.sdk.v2.model.WorkPlan
- All Implemented Interfaces:
Serializable
WorkPlan
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis constraint ensures that an agent starts each workday within a user-defined time threshold -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagentCount(Integer agentCount) Number of agents in this work planagents(List<DeletableUserReference> agents) Agents in this work planconstrainMaximumConsecutiveWorkingDays(Boolean constrainMaximumConsecutiveWorkingDays) Whether to constrain the maximum consecutive working daysconstrainMaximumConsecutiveWorkingWeekends(Boolean constrainMaximumConsecutiveWorkingWeekends) Whether to constrain the maximum consecutive working weekendsconstrainMinimumTimeBetweenShifts(Boolean constrainMinimumTimeBetweenShifts) Whether the minimum time between shifts constraint is enabled for this work planconstrainPaidTimeGranularity(Boolean constrainPaidTimeGranularity) Whether paid time granularity is constrained for this work planconstrainWeeklyPaidTime(Boolean constrainWeeklyPaidTime) Whether the weekly paid time constraint is enabled for this work planWhether the work plan is enabled for schedulingbooleanflexibleWeeklyPaidTime(Boolean flexibleWeeklyPaidTime) Whether the weekly paid time constraint is flexible for this work plangetId()getName()getValid()inthashCode()maximumConsecutiveWorkingDays(Integer maximumConsecutiveWorkingDays) The maximum number of consecutive days that agents assigned to this work plan are allowed to work.maximumConsecutiveWorkingWeekends(Integer maximumConsecutiveWorkingWeekends) The maximum number of consecutive weekends that agents who are assigned to this work plan are allowed to workmaximumDays(Integer maximumDays) Maximum number days in a week allowed to be scheduled for this work planmaximumDaysOffPerPlanningPeriod(Integer maximumDaysOffPerPlanningPeriod) Maximum days off in the planning periodmaximumPaidMinutesPerPlanningPeriod(Integer maximumPaidMinutesPerPlanningPeriod) Maximum paid minutes in the planning periodmetadata(WfmVersionedEntityMetadata metadata) Version metadata for this work planminimumConsecutiveNonWorkingMinutesPerWeek(Integer minimumConsecutiveNonWorkingMinutesPerWeek) Minimum amount of consecutive non working minutes per week that agents who are assigned this work plan are allowed to have offminimumDaysOffPerPlanningPeriod(Integer minimumDaysOffPerPlanningPeriod) Minimum days off in the planning periodminimumPaidMinutesPerPlanningPeriod(Integer minimumPaidMinutesPerPlanningPeriod) Minimum paid minutes in the planning periodminimumShiftStartDistanceMinutes(Integer minimumShiftStartDistanceMinutes) The time period in minutes for the duration between the start times of two consecutive working daysminimumTimeBetweenShiftsMinutes(Integer minimumTimeBetweenShiftsMinutes) Minimum time between shifts in minutes defined in this work plan.minimumWorkingDaysPerWeek(Integer minimumWorkingDaysPerWeek) The minimum number of days that agents assigned to a work plan must work per weekoptionalDays(SetWrapperDayOfWeek optionalDays) Optional days to schedule for this work planpaidTimeGranularityMinutes(Integer paidTimeGranularityMinutes) Granularity in minutes allowed for shift paid time in this work plan.voidsetAgentCount(Integer agentCount) voidsetAgents(List<DeletableUserReference> agents) voidsetConstrainMaximumConsecutiveWorkingDays(Boolean constrainMaximumConsecutiveWorkingDays) voidsetConstrainMaximumConsecutiveWorkingWeekends(Boolean constrainMaximumConsecutiveWorkingWeekends) voidsetConstrainMinimumTimeBetweenShifts(Boolean constrainMinimumTimeBetweenShifts) voidsetConstrainPaidTimeGranularity(Boolean constrainPaidTimeGranularity) voidsetConstrainWeeklyPaidTime(Boolean constrainWeeklyPaidTime) voidsetEnabled(Boolean enabled) voidsetFlexibleWeeklyPaidTime(Boolean flexibleWeeklyPaidTime) voidsetMaximumConsecutiveWorkingDays(Integer maximumConsecutiveWorkingDays) voidsetMaximumConsecutiveWorkingWeekends(Integer maximumConsecutiveWorkingWeekends) voidsetMaximumDays(Integer maximumDays) voidsetMaximumDaysOffPerPlanningPeriod(Integer maximumDaysOffPerPlanningPeriod) voidsetMaximumPaidMinutesPerPlanningPeriod(Integer maximumPaidMinutesPerPlanningPeriod) voidsetMetadata(WfmVersionedEntityMetadata metadata) voidsetMinimumConsecutiveNonWorkingMinutesPerWeek(Integer minimumConsecutiveNonWorkingMinutesPerWeek) voidsetMinimumDaysOffPerPlanningPeriod(Integer minimumDaysOffPerPlanningPeriod) voidsetMinimumPaidMinutesPerPlanningPeriod(Integer minimumPaidMinutesPerPlanningPeriod) voidsetMinimumShiftStartDistanceMinutes(Integer minimumShiftStartDistanceMinutes) voidsetMinimumTimeBetweenShiftsMinutes(Integer minimumTimeBetweenShiftsMinutes) voidsetMinimumWorkingDaysPerWeek(Integer minimumWorkingDaysPerWeek) voidvoidsetOptionalDays(SetWrapperDayOfWeek optionalDays) voidsetPaidTimeGranularityMinutes(Integer paidTimeGranularityMinutes) voidsetShifts(List<WorkPlanShift> shifts) voidsetShiftStartVariances(ListWrapperShiftStartVariance shiftStartVariances) voidsetShiftStartVarianceType(WorkPlan.ShiftStartVarianceTypeEnum shiftStartVarianceType) voidsetWeeklyExactPaidMinutes(Integer weeklyExactPaidMinutes) voidsetWeeklyMaximumPaidMinutes(Integer weeklyMaximumPaidMinutes) voidsetWeeklyMinimumPaidMinutes(Integer weeklyMinimumPaidMinutes) shifts(List<WorkPlanShift> shifts) Shifts in this work planshiftStartVariances(ListWrapperShiftStartVariance shiftStartVariances) Variance in minutes among start times of shifts in this work planshiftStartVarianceType(WorkPlan.ShiftStartVarianceTypeEnum shiftStartVarianceType) This constraint ensures that an agent starts each workday within a user-defined time thresholdtoString()weeklyExactPaidMinutes(Integer weeklyExactPaidMinutes) Exact weekly paid time in minutes for this work plan.weeklyMaximumPaidMinutes(Integer weeklyMaximumPaidMinutes) Maximum weekly paid time in minutes for this work plan.weeklyMinimumPaidMinutes(Integer weeklyMinimumPaidMinutes) Minimum weekly paid time in minutes for this work plan.
-
Constructor Details
-
WorkPlan
public WorkPlan()
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
enabled
Whether the work plan is enabled for scheduling -
getEnabled
-
setEnabled
-
getValid
-
constrainWeeklyPaidTime
Whether the weekly paid time constraint is enabled for this work plan -
getConstrainWeeklyPaidTime
-
setConstrainWeeklyPaidTime
-
flexibleWeeklyPaidTime
Whether the weekly paid time constraint is flexible for this work plan -
getFlexibleWeeklyPaidTime
-
setFlexibleWeeklyPaidTime
-
weeklyExactPaidMinutes
Exact weekly paid time in minutes for this work plan. Used if flexibleWeeklyPaidTime == false -
getWeeklyExactPaidMinutes
-
setWeeklyExactPaidMinutes
-
weeklyMinimumPaidMinutes
Minimum weekly paid time in minutes for this work plan. Used if flexibleWeeklyPaidTime == true -
getWeeklyMinimumPaidMinutes
-
setWeeklyMinimumPaidMinutes
-
weeklyMaximumPaidMinutes
Maximum weekly paid time in minutes for this work plan. Used if flexibleWeeklyPaidTime == true -
getWeeklyMaximumPaidMinutes
-
setWeeklyMaximumPaidMinutes
-
constrainPaidTimeGranularity
Whether paid time granularity is constrained for this work plan -
getConstrainPaidTimeGranularity
-
setConstrainPaidTimeGranularity
-
paidTimeGranularityMinutes
Granularity in minutes allowed for shift paid time in this work plan. Used if constrainPaidTimeGranularity == true -
getPaidTimeGranularityMinutes
-
setPaidTimeGranularityMinutes
-
constrainMinimumTimeBetweenShifts
Whether the minimum time between shifts constraint is enabled for this work plan -
getConstrainMinimumTimeBetweenShifts
-
setConstrainMinimumTimeBetweenShifts
-
minimumTimeBetweenShiftsMinutes
Minimum time between shifts in minutes defined in this work plan. Used if constrainMinimumTimeBetweenShifts == true -
getMinimumTimeBetweenShiftsMinutes
-
setMinimumTimeBetweenShiftsMinutes
-
maximumDays
Maximum number days in a week allowed to be scheduled for this work plan -
getMaximumDays
-
setMaximumDays
-
minimumConsecutiveNonWorkingMinutesPerWeek
public WorkPlan minimumConsecutiveNonWorkingMinutesPerWeek(Integer minimumConsecutiveNonWorkingMinutesPerWeek) Minimum amount of consecutive non working minutes per week that agents who are assigned this work plan are allowed to have off -
getMinimumConsecutiveNonWorkingMinutesPerWeek
-
setMinimumConsecutiveNonWorkingMinutesPerWeek
public void setMinimumConsecutiveNonWorkingMinutesPerWeek(Integer minimumConsecutiveNonWorkingMinutesPerWeek) -
constrainMaximumConsecutiveWorkingWeekends
public WorkPlan constrainMaximumConsecutiveWorkingWeekends(Boolean constrainMaximumConsecutiveWorkingWeekends) Whether to constrain the maximum consecutive working weekends -
getConstrainMaximumConsecutiveWorkingWeekends
-
setConstrainMaximumConsecutiveWorkingWeekends
public void setConstrainMaximumConsecutiveWorkingWeekends(Boolean constrainMaximumConsecutiveWorkingWeekends) -
maximumConsecutiveWorkingWeekends
The maximum number of consecutive weekends that agents who are assigned to this work plan are allowed to work -
getMaximumConsecutiveWorkingWeekends
-
setMaximumConsecutiveWorkingWeekends
-
minimumWorkingDaysPerWeek
The minimum number of days that agents assigned to a work plan must work per week -
getMinimumWorkingDaysPerWeek
-
setMinimumWorkingDaysPerWeek
-
constrainMaximumConsecutiveWorkingDays
public WorkPlan constrainMaximumConsecutiveWorkingDays(Boolean constrainMaximumConsecutiveWorkingDays) Whether to constrain the maximum consecutive working days -
getConstrainMaximumConsecutiveWorkingDays
-
setConstrainMaximumConsecutiveWorkingDays
public void setConstrainMaximumConsecutiveWorkingDays(Boolean constrainMaximumConsecutiveWorkingDays) -
maximumConsecutiveWorkingDays
The maximum number of consecutive days that agents assigned to this work plan are allowed to work. Used if constrainMaximumConsecutiveWorkingDays == true -
getMaximumConsecutiveWorkingDays
-
setMaximumConsecutiveWorkingDays
-
minimumShiftStartDistanceMinutes
The time period in minutes for the duration between the start times of two consecutive working days -
getMinimumShiftStartDistanceMinutes
-
setMinimumShiftStartDistanceMinutes
-
minimumDaysOffPerPlanningPeriod
Minimum days off in the planning period -
getMinimumDaysOffPerPlanningPeriod
-
setMinimumDaysOffPerPlanningPeriod
-
maximumDaysOffPerPlanningPeriod
Maximum days off in the planning period -
getMaximumDaysOffPerPlanningPeriod
-
setMaximumDaysOffPerPlanningPeriod
-
minimumPaidMinutesPerPlanningPeriod
Minimum paid minutes in the planning period -
getMinimumPaidMinutesPerPlanningPeriod
-
setMinimumPaidMinutesPerPlanningPeriod
-
maximumPaidMinutesPerPlanningPeriod
Maximum paid minutes in the planning period -
getMaximumPaidMinutesPerPlanningPeriod
-
setMaximumPaidMinutesPerPlanningPeriod
-
optionalDays
Optional days to schedule for this work plan -
getOptionalDays
-
setOptionalDays
-
shiftStartVarianceType
This constraint ensures that an agent starts each workday within a user-defined time threshold -
getShiftStartVarianceType
-
setShiftStartVarianceType
-
shiftStartVariances
Variance in minutes among start times of shifts in this work plan -
getShiftStartVariances
-
setShiftStartVariances
-
shifts
Shifts in this work plan -
getShifts
-
setShifts
-
agents
Agents in this work plan -
getAgents
-
setAgents
-
agentCount
Number of agents in this work plan -
getAgentCount
-
setAgentCount
-
metadata
Version metadata for this work plan -
getMetadata
-
setMetadata
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-