Package com.mypurecloud.sdk.v2.model
Class CreateAgentTimeOffRequest
java.lang.Object
com.mypurecloud.sdk.v2.model.CreateAgentTimeOffRequest
- All Implemented Interfaces:
Serializable
CreateAgentTimeOffRequest
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivityCodeId(String activityCodeId) The ID of the activity code associated with this time off request.dailyDurationMinutes(Integer dailyDurationMinutes) Daily duration in minutes applied to all days of this time off request.durationMinutes(List<Integer> durationMinutes) Duration in minutes for each day of this time off request.booleanfullDayManagementUnitDates(List<String> fullDayManagementUnitDates) A set of dates in yyyy-MM-dd format.getNotes()inthashCode()Notes about the time off requestpartialDayStartDateTimes(List<Date> partialDayStartDateTimes) A set of start date-times in ISO-8601 format for partial day requestspayableMinutes(List<Integer> payableMinutes) Payable minutes for each day of this time off request, representing scheduled paid time displaced by this request.voidsetActivityCodeId(String activityCodeId) voidsetDailyDurationMinutes(Integer dailyDurationMinutes) voidsetDurationMinutes(List<Integer> durationMinutes) voidsetFullDayManagementUnitDates(List<String> fullDayManagementUnitDates) voidvoidsetPartialDayStartDateTimes(List<Date> partialDayStartDateTimes) voidsetPayableMinutes(List<Integer> payableMinutes) toString()
-
Constructor Details
-
CreateAgentTimeOffRequest
public CreateAgentTimeOffRequest() -
CreateAgentTimeOffRequest
-
-
Method Details
-
activityCodeId
The ID of the activity code associated with this time off request. Activity code must be of the TimeOff category -
getActivityCodeId
-
setActivityCodeId
-
notes
Notes about the time off request -
getNotes
-
setNotes
-
fullDayManagementUnitDates
public CreateAgentTimeOffRequest fullDayManagementUnitDates(List<String> fullDayManagementUnitDates) A set of dates in yyyy-MM-dd format. Should be interpreted in the management unit's configured time zone -
getFullDayManagementUnitDates
-
setFullDayManagementUnitDates
-
partialDayStartDateTimes
A set of start date-times in ISO-8601 format for partial day requests -
getPartialDayStartDateTimes
-
setPartialDayStartDateTimes
-
dailyDurationMinutes
Daily duration in minutes applied to all days of this time off request. Ignored if durationMinutes is specified. At least one of dailyDurationMinutes or durationMinutes is required -
getDailyDurationMinutes
-
setDailyDurationMinutes
-
durationMinutes
Duration in minutes for each day of this time off request. Must match the size of fullDayManagementUnitDates or partialDayStartDateTimes. At least one of dailyDurationMinutes or durationMinutes is required -
getDurationMinutes
-
setDurationMinutes
-
payableMinutes
Payable minutes for each day of this time off request, representing scheduled paid time displaced by this request. Defaults to dailyDurationMinutes if not specified -
getPayableMinutes
-
setPayableMinutes
-
equals
-
hashCode
public int hashCode() -
toString
-