Class Reoccurrence

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

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

    • Reoccurrence

      public Reoccurrence()
    • Reoccurrence

      public Reoccurrence(Boolean initWithEmptyList)
  • Method Details

    • id

      public Reoccurrence id(String id)
    • getId

      public String getId()
    • setId

      public void setId(String id)
    • start

      public Reoccurrence start(String start)
      The start date time of the initial occurrence as an ISO-8601 string in the format YYYY-MM-DDThh:mm:ss
    • getStart

      public String getStart()
    • setStart

      public void setStart(String start)
    • end

      public Reoccurrence end(String end)
      The end date time of the initial occurrence as an ISO-8601 string in the format YYYY-MM-DDThh:mm:ss
    • getEnd

      public String getEnd()
    • setEnd

      public void setEnd(String end)
    • timeZone

      public Reoccurrence timeZone(String timeZone)
      The time zone for the recurrence. The time zone of the recurrence is determined by prioritizing the recurrence's time zone if specified, then the schedule's time zone if set, and finally defaulting to UTC if neither defines a time zone. See here for a list of valid time zones https://www.iana.org/time-zones. Time zones are represented as a string of the zone name as found in the IANA time zone database. For example: UTC, Etc/UTC, or Europe/London
    • getTimeZone

      public String getTimeZone()
    • setTimeZone

      public void setTimeZone(String timeZone)
    • pattern

      public Reoccurrence pattern(Pattern pattern)
      The schedule pattern e.g.: Daily/Weekly
    • getPattern

      public Pattern getPattern()
    • setPattern

      public void setPattern(Pattern pattern)
    • range

      public Reoccurrence range(Range range)
      The schedule range e.g.: EndDate/NoEnd/Numbered
    • getRange

      public Range getRange()
    • setRange

      public void setRange(Range range)
    • alterations

      public Reoccurrence alterations(List<Alteration> alterations)
      Modifications to the original recurrence schedule (Exclusions/Inclusions)
    • getAlterations

      public List<Alteration> getAlterations()
    • setAlterations

      public void setAlterations(List<Alteration> alterations)
    • getNextOccurrenceDetails

      public NextOccurrenceDetails getNextOccurrenceDetails()
    • 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