Package com.mypurecloud.sdk.v2.model
Class WorkPlanListItemResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.WorkPlanListItemResponse
- All Implemented Interfaces:
Serializable
WorkPlanListItemResponse
- 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 TypeMethodDescriptionagentCount(Integer agentCount) Number of agents in this work plan.agents(List<DeletableUserReference> agents) Agents in this work plan.constrainMaximumConsecutiveWorkingDays(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 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()The globally unique identifier for the object.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 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 plan.paidTimeGranularityMinutes(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) voidsetConstrainMaximumWorkingWeekendsPerPlanningPeriod(Boolean constrainMaximumWorkingWeekendsPerPlanningPeriod) voidsetConstrainMinimumTimeBetweenShifts(Boolean constrainMinimumTimeBetweenShifts) voidsetConstrainPaidTimeGranularity(Boolean constrainPaidTimeGranularity) voidsetConstrainWeeklyPaidTime(Boolean constrainWeeklyPaidTime) voidsetEnabled(Boolean enabled) voidsetFlexibleWeeklyPaidTime(Boolean flexibleWeeklyPaidTime) voidvoidsetMaximumConsecutiveWorkingDays(Integer maximumConsecutiveWorkingDays) voidsetMaximumConsecutiveWorkingWeekends(Integer maximumConsecutiveWorkingWeekends) voidsetMaximumDays(Integer maximumDays) voidsetMaximumDaysOffPerPlanningPeriod(Integer maximumDaysOffPerPlanningPeriod) voidsetMaximumPaidMinutesPerPlanningPeriod(Integer maximumPaidMinutesPerPlanningPeriod) voidsetMaximumWorkingWeekendsPerPlanningPeriod(Integer maximumWorkingWeekendsPerPlanningPeriod) 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) voidsetShiftStartVariancePeriod(WorkPlanListItemResponse.ShiftStartVariancePeriodEnum shiftStartVariancePeriod) voidsetShiftStartVariances(ListWrapperShiftStartVariance shiftStartVariances) voidsetShiftStartVarianceType(WorkPlanListItemResponse.ShiftStartVarianceTypeEnum shiftStartVarianceType) voidsetWeeklyExactPaidMinutes(Integer weeklyExactPaidMinutes) voidsetWeeklyMaximumPaidMinutes(Integer weeklyMaximumPaidMinutes) voidsetWeeklyMinimumPaidMinutes(Integer weeklyMinimumPaidMinutes) shifts(List<WorkPlanShift> shifts) Shifts in this work plan.shiftStartVariancePeriod(WorkPlanListItemResponse.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 plan.shiftStartVarianceType(WorkPlanListItemResponse.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
-
WorkPlanListItemResponse
public WorkPlanListItemResponse() -
WorkPlanListItemResponse
-
-
Method Details
-
id
The globally unique identifier for the object. -
getId
-
setId
-
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
public WorkPlanListItemResponse constrainMinimumTimeBetweenShifts(Boolean constrainMinimumTimeBetweenShifts) Whether the minimum time between shifts constraint is enabled for this work plan -
getConstrainMinimumTimeBetweenShifts
-
setConstrainMinimumTimeBetweenShifts
-
minimumTimeBetweenShiftsMinutes
public WorkPlanListItemResponse minimumTimeBetweenShiftsMinutes(Integer 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 WorkPlanListItemResponse 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 WorkPlanListItemResponse constrainMaximumConsecutiveWorkingWeekends(Boolean constrainMaximumConsecutiveWorkingWeekends) Whether to constrain the maximum consecutive working weekends -
getConstrainMaximumConsecutiveWorkingWeekends
-
setConstrainMaximumConsecutiveWorkingWeekends
public void setConstrainMaximumConsecutiveWorkingWeekends(Boolean constrainMaximumConsecutiveWorkingWeekends) -
maximumConsecutiveWorkingWeekends
public WorkPlanListItemResponse maximumConsecutiveWorkingWeekends(Integer 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 WorkPlanListItemResponse constrainMaximumConsecutiveWorkingDays(Boolean constrainMaximumConsecutiveWorkingDays) Whether to constrain the maximum consecutive working days -
getConstrainMaximumConsecutiveWorkingDays
-
setConstrainMaximumConsecutiveWorkingDays
public void setConstrainMaximumConsecutiveWorkingDays(Boolean constrainMaximumConsecutiveWorkingDays) -
maximumConsecutiveWorkingDays
public WorkPlanListItemResponse maximumConsecutiveWorkingDays(Integer 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
public WorkPlanListItemResponse minimumShiftStartDistanceMinutes(Integer minimumShiftStartDistanceMinutes) The time period in minutes for the duration between the start times of two consecutive working days -
getMinimumShiftStartDistanceMinutes
-
setMinimumShiftStartDistanceMinutes
-
minimumDaysOffPerPlanningPeriod
public WorkPlanListItemResponse minimumDaysOffPerPlanningPeriod(Integer minimumDaysOffPerPlanningPeriod) Minimum days off in the planning period -
getMinimumDaysOffPerPlanningPeriod
-
setMinimumDaysOffPerPlanningPeriod
-
maximumDaysOffPerPlanningPeriod
public WorkPlanListItemResponse maximumDaysOffPerPlanningPeriod(Integer maximumDaysOffPerPlanningPeriod) Maximum days off in the planning period -
getMaximumDaysOffPerPlanningPeriod
-
setMaximumDaysOffPerPlanningPeriod
-
minimumPaidMinutesPerPlanningPeriod
public WorkPlanListItemResponse minimumPaidMinutesPerPlanningPeriod(Integer minimumPaidMinutesPerPlanningPeriod) Minimum paid minutes in the planning period -
getMinimumPaidMinutesPerPlanningPeriod
-
setMinimumPaidMinutesPerPlanningPeriod
-
maximumPaidMinutesPerPlanningPeriod
public WorkPlanListItemResponse maximumPaidMinutesPerPlanningPeriod(Integer maximumPaidMinutesPerPlanningPeriod) Maximum paid minutes in the planning period -
getMaximumPaidMinutesPerPlanningPeriod
-
setMaximumPaidMinutesPerPlanningPeriod
-
constrainMaximumWorkingWeekendsPerPlanningPeriod
public WorkPlanListItemResponse constrainMaximumWorkingWeekendsPerPlanningPeriod(Boolean constrainMaximumWorkingWeekendsPerPlanningPeriod) Whether to constrain the maximum working weekends in the planning period -
getConstrainMaximumWorkingWeekendsPerPlanningPeriod
-
setConstrainMaximumWorkingWeekendsPerPlanningPeriod
public void setConstrainMaximumWorkingWeekendsPerPlanningPeriod(Boolean constrainMaximumWorkingWeekendsPerPlanningPeriod) -
maximumWorkingWeekendsPerPlanningPeriod
public WorkPlanListItemResponse 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. Populate with expand=details -
getOptionalDays
-
setOptionalDays
-
shiftStartVarianceType
public WorkPlanListItemResponse shiftStartVarianceType(WorkPlanListItemResponse.ShiftStartVarianceTypeEnum shiftStartVarianceType) This constraint ensures that an agent starts each workday within a user-defined time threshold -
getShiftStartVarianceType
-
setShiftStartVarianceType
public void setShiftStartVarianceType(WorkPlanListItemResponse.ShiftStartVarianceTypeEnum shiftStartVarianceType) -
shiftStartVariancePeriod
public WorkPlanListItemResponse shiftStartVariancePeriod(WorkPlanListItemResponse.ShiftStartVariancePeriodEnum shiftStartVariancePeriod) The length of the period over which the maximum shift start time variance is applied -
getShiftStartVariancePeriod
-
setShiftStartVariancePeriod
public void setShiftStartVariancePeriod(WorkPlanListItemResponse.ShiftStartVariancePeriodEnum shiftStartVariancePeriod) -
shiftStartVariances
public WorkPlanListItemResponse shiftStartVariances(ListWrapperShiftStartVariance shiftStartVariances) Variance in minutes among start times of shifts in this work plan. Populate with expand=details -
getShiftStartVariances
-
setShiftStartVariances
-
shifts
Shifts in this work plan. Populate with expand=details (defaults to empty list) -
getShifts
-
setShifts
-
agents
Agents in this work plan. Populate with expand=details (defaults to empty list) -
getAgents
-
setAgents
-
agentCount
Number of agents in this work plan. Populate with expand=agentCount -
getAgentCount
-
setAgentCount
-
metadata
Version metadata for this work plan -
getMetadata
-
setMetadata
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-