Class TriggerSchedule

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

public class TriggerSchedule extends Object implements Serializable
Schedule configuration for a scheduled trigger
See Also:
  • Constructor Details

    • TriggerSchedule

      public TriggerSchedule()
    • TriggerSchedule

      public TriggerSchedule(Boolean initWithEmptyList)
  • Method Details

    • minutes

      public TriggerSchedule minutes(String minutes)
      Minutes on which the trigger should fire. Coma separated list of up to 2 values 0-59
    • getMinutes

      public String getMinutes()
    • setMinutes

      public void setMinutes(String minutes)
    • hours

      public TriggerSchedule hours(String hours)
      Hours on which the trigger should fire. 0-23 or '*' for every hour.
    • getHours

      public String getHours()
    • setHours

      public void setHours(String hours)
    • daysOfMonth

      public TriggerSchedule daysOfMonth(String daysOfMonth)
      Days of month on which the trigger should fire. 1-31 or '*' for every or '?' for any
    • getDaysOfMonth

      public String getDaysOfMonth()
    • setDaysOfMonth

      public void setDaysOfMonth(String daysOfMonth)
    • months

      public TriggerSchedule months(String months)
      Months on which the trigger should fire. 1-12 or '*' for every
    • getMonths

      public String getMonths()
    • setMonths

      public void setMonths(String months)
    • daysOfWeek

      public TriggerSchedule daysOfWeek(String daysOfWeek)
      Days of week on which the trigger should fire. 1-7 or '*' for every or '?' for any
    • getDaysOfWeek

      public String getDaysOfWeek()
    • setDaysOfWeek

      public void setDaysOfWeek(String daysOfWeek)
    • timezone

      public TriggerSchedule timezone(String timezone)
      Timezone for the trigger schedule
    • getTimezone

      public String getTimezone()
    • setTimezone

      public void setTimezone(String timezone)
    • 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