Class Range

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

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

    • Range

      public Range()
    • Range

      public Range(Boolean initWithEmptyList)
  • Method Details

    • type

      public Range type(Range.TypeEnum type)
      Range type (NoEnd: without an end date. EndDate: with an end date. Numbered: with a specific number of occurrences)
    • getType

      public Range.TypeEnum getType()
    • setType

      public void setType(Range.TypeEnum type)
    • end

      public Range end(String end)
      The end date time of the last occurrence of the range as an ISO-8601 string. Required for EndDate range type.
    • getEnd

      public String getEnd()
    • setEnd

      public void setEnd(String end)
    • numberOfOccurrences

      public Range numberOfOccurrences(Integer numberOfOccurrences)
      The number of times the schedule will be repeated, e.g: 2. Required to set for Numbered range type.
    • getNumberOfOccurrences

      public Integer getNumberOfOccurrences()
    • setNumberOfOccurrences

      public void setNumberOfOccurrences(Integer numberOfOccurrences)
    • 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