Package com.mypurecloud.sdk.v2.model
Class AvailableTimeOffRange
java.lang.Object
com.mypurecloud.sdk.v2.model.AvailableTimeOffRange
- All Implemented Interfaces:
Serializable
AvailableTimeOffRange
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumGranularity choice for time off limit -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailableMinutesPerInterval(List<Integer> availableMinutesPerInterval) The list of available time off values in minutes per granularity intervalbooleangranularity(AvailableTimeOffRange.GranularityEnum granularity) Granularity choice for time off limitinthashCode()voidsetAvailableMinutesPerInterval(List<Integer> availableMinutesPerInterval) voidsetGranularity(AvailableTimeOffRange.GranularityEnum granularity) voidsetStartDate(LocalDate startDate) voidsetTimeOffLimit(TimeOffLimitReference timeOffLimit) voidsetWaitlistedRequestsPerInterval(List<Integer> waitlistedRequestsPerInterval) voidsetWaitlistEnabled(Boolean waitlistEnabled) Start date of the requested date range.timeOffLimit(TimeOffLimitReference timeOffLimit) The time off limittoString()waitlistedRequestsPerInterval(List<Integer> waitlistedRequestsPerInterval) The current number of waitlisted time off requests for every interval per granularitywaitlistEnabled(Boolean waitlistEnabled) Whether the time off request can be waitlisted
-
Constructor Details
-
AvailableTimeOffRange
public AvailableTimeOffRange() -
AvailableTimeOffRange
-
-
Method Details
-
timeOffLimit
The time off limit -
getTimeOffLimit
-
setTimeOffLimit
-
startDate
Start date of the requested date range. The end date is determined by the size of interval list. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd -
getStartDate
-
setStartDate
-
granularity
Granularity choice for time off limit -
getGranularity
-
setGranularity
-
availableMinutesPerInterval
The list of available time off values in minutes per granularity interval -
getAvailableMinutesPerInterval
-
setAvailableMinutesPerInterval
-
waitlistedRequestsPerInterval
public AvailableTimeOffRange waitlistedRequestsPerInterval(List<Integer> waitlistedRequestsPerInterval) The current number of waitlisted time off requests for every interval per granularity -
getWaitlistedRequestsPerInterval
-
setWaitlistedRequestsPerInterval
-
waitlistEnabled
Whether the time off request can be waitlisted -
getWaitlistEnabled
-
setWaitlistEnabled
-
equals
-
hashCode
public int hashCode() -
toString
-