Class BuTimeOffLimitRange

java.lang.Object
com.mypurecloud.sdk.v2.model.BuTimeOffLimitRange
All Implemented Interfaces:
Serializable

public class BuTimeOffLimitRange extends Object implements Serializable
BuTimeOffLimitRange
See Also:
  • Constructor Details

    • BuTimeOffLimitRange

      public BuTimeOffLimitRange()
    • BuTimeOffLimitRange

      public BuTimeOffLimitRange(Boolean initWithEmptyList)
  • Method Details

    • startDate

      public BuTimeOffLimitRange startDate(LocalDate startDate)
      Start date of the range. The end date is determined by the size of 'limitMinutesPerDay'. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd
    • getStartDate

      public LocalDate getStartDate()
    • setStartDate

      public void setStartDate(LocalDate startDate)
    • limitMinutesPerFifteenMinutes

      public BuTimeOffLimitRange limitMinutesPerFifteenMinutes(List<Integer> limitMinutesPerFifteenMinutes)
      The list of time-off limit values in minutes per fifteen minute interval. It must be set if 'granularity' on time-off limit is fifteen minutes. If count of limit minutes array exceeds a day for given 'startDate', the slots overflowing into next day, should not be duplicated in another range entry with next day as 'startDate'.For example startDate 03/01/2026 - limitMinutesPerFifteenMinutes with 120 intervals, 03/02/2026 - limitMinutesPerFifteenMinutes with 20 intervals has overlap and not allowed
    • getLimitMinutesPerFifteenMinutes

      public List<Integer> getLimitMinutesPerFifteenMinutes()
    • setLimitMinutesPerFifteenMinutes

      public void setLimitMinutesPerFifteenMinutes(List<Integer> limitMinutesPerFifteenMinutes)
    • limitMinutesPerDay

      public BuTimeOffLimitRange limitMinutesPerDay(List<Integer> limitMinutesPerDay)
      The list of time-off limit values in minutes per day. If 'null' is specified, then the day-specific value is cleared. Such a day will have a value of 0
    • getLimitMinutesPerDay

      public List<Integer> getLimitMinutesPerDay()
    • setLimitMinutesPerDay

      public void setLimitMinutesPerDay(List<Integer> limitMinutesPerDay)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object