Package com.mypurecloud.sdk.v2.model
Class CreateWorkPlan
java.lang.Object
com.mypurecloud.sdk.v2.model.CreateWorkPlan
- All Implemented Interfaces:
Serializable
CreateWorkPlan
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe length of the period over which the maximum shift start time variance is appliedstatic enumThis constraint ensures that an agent starts each workday within a user-defined time threshold -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionagents(List<UserReference> 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 weekendsconstrainMaximumWorkingWeekendsPerPlanningPeriod(Boolean constrainMaximumWorkingWeekendsPerPlanningPeriod) Whether to constrain the maximum working weekends in the planning periodconstrainMinimumTimeBetweenShifts(Boolean constrainMinimumTimeBetweenShifts) Whether the minimum time between shifts constraint is enabled for this work planconstrainPaidTimeGranularity(Boolean constrainPaidTimeGranularity) Whether paid time granularity should be constrained for this workplanconstrainWeeklyPaidTime(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 plangetName()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 periodmaximumWorkingWeekendsPerPlanningPeriod(Integer maximumWorkingWeekendsPerPlanningPeriod) Maximum working weekends in the planning periodminimumConsecutiveNonWorkingMinutesPerWeek(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 weekName of this work planoptionalDays(SetWrapperDayOfWeek optionalDays) Optional days to schedule for this work planpaidTimeGranularityMinutes(Integer paidTimeGranularityMinutes) Granularity in minutes allowed for shift paid time in this work plan.voidsetAgents(List<UserReference> agents) voidsetConstrainMaximumConsecutiveWorkingDays(Boolean constrainMaximumConsecutiveWorkingDays) voidsetConstrainMaximumConsecutiveWorkingWeekends(Boolean constrainMaximumConsecutiveWorkingWeekends) voidsetConstrainMaximumWorkingWeekendsPerPlanningPeriod(Boolean constrainMaximumWorkingWeekendsPerPlanningPeriod) 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) voidsetMaximumWorkingWeekendsPerPlanningPeriod(Integer maximumWorkingWeekendsPerPlanningPeriod) 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<CreateWorkPlanShift> shifts) voidsetShiftStartVariancePeriod(CreateWorkPlan.ShiftStartVariancePeriodEnum shiftStartVariancePeriod) voidsetShiftStartVariances(ListWrapperShiftStartVariance shiftStartVariances) voidsetShiftStartVarianceType(CreateWorkPlan.ShiftStartVarianceTypeEnum shiftStartVarianceType) voidsetWeeklyExactPaidMinutes(Integer weeklyExactPaidMinutes) voidsetWeeklyMaximumPaidMinutes(Integer weeklyMaximumPaidMinutes) voidsetWeeklyMinimumPaidMinutes(Integer weeklyMinimumPaidMinutes) shifts(List<CreateWorkPlanShift> shifts) Shifts in this work planshiftStartVariancePeriod(CreateWorkPlan.ShiftStartVariancePeriodEnum shiftStartVariancePeriod) The length of the period over which the maximum shift start time variance is appliedshiftStartVariances(ListWrapperShiftStartVariance shiftStartVariances) Variance in minutes among start times of shifts in this work planshiftStartVarianceType(CreateWorkPlan.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
-
CreateWorkPlan
public CreateWorkPlan() -
CreateWorkPlan
-
-
Method Details
-
name
Name of this work plan -
getName
-
setName
-
enabled
Whether the work plan is enabled for scheduling -
getEnabled
-
setEnabled
-
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 should be constrained for this workplan -
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 CreateWorkPlan 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 CreateWorkPlan 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 CreateWorkPlan 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
public CreateWorkPlan minimumPaidMinutesPerPlanningPeriod(Integer minimumPaidMinutesPerPlanningPeriod) Minimum paid minutes in the planning period -
getMinimumPaidMinutesPerPlanningPeriod
-
setMinimumPaidMinutesPerPlanningPeriod
-
maximumPaidMinutesPerPlanningPeriod
public CreateWorkPlan maximumPaidMinutesPerPlanningPeriod(Integer maximumPaidMinutesPerPlanningPeriod) Maximum paid minutes in the planning period -
getMaximumPaidMinutesPerPlanningPeriod
-
setMaximumPaidMinutesPerPlanningPeriod
-
constrainMaximumWorkingWeekendsPerPlanningPeriod
public CreateWorkPlan constrainMaximumWorkingWeekendsPerPlanningPeriod(Boolean constrainMaximumWorkingWeekendsPerPlanningPeriod) Whether to constrain the maximum working weekends in the planning period -
getConstrainMaximumWorkingWeekendsPerPlanningPeriod
-
setConstrainMaximumWorkingWeekendsPerPlanningPeriod
public void setConstrainMaximumWorkingWeekendsPerPlanningPeriod(Boolean constrainMaximumWorkingWeekendsPerPlanningPeriod) -
maximumWorkingWeekendsPerPlanningPeriod
public CreateWorkPlan maximumWorkingWeekendsPerPlanningPeriod(Integer maximumWorkingWeekendsPerPlanningPeriod) Maximum working weekends in the planning period -
getMaximumWorkingWeekendsPerPlanningPeriod
-
setMaximumWorkingWeekendsPerPlanningPeriod
public void setMaximumWorkingWeekendsPerPlanningPeriod(Integer maximumWorkingWeekendsPerPlanningPeriod) -
optionalDays
Optional days to schedule for this work plan -
getOptionalDays
-
setOptionalDays
-
shiftStartVarianceType
public CreateWorkPlan shiftStartVarianceType(CreateWorkPlan.ShiftStartVarianceTypeEnum shiftStartVarianceType) This constraint ensures that an agent starts each workday within a user-defined time threshold -
getShiftStartVarianceType
-
setShiftStartVarianceType
public void setShiftStartVarianceType(CreateWorkPlan.ShiftStartVarianceTypeEnum shiftStartVarianceType) -
shiftStartVariancePeriod
public CreateWorkPlan shiftStartVariancePeriod(CreateWorkPlan.ShiftStartVariancePeriodEnum shiftStartVariancePeriod) The length of the period over which the maximum shift start time variance is applied -
getShiftStartVariancePeriod
-
setShiftStartVariancePeriod
public void setShiftStartVariancePeriod(CreateWorkPlan.ShiftStartVariancePeriodEnum shiftStartVariancePeriod) -
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
-
equals
-
hashCode
public int hashCode() -
toString
-