Class Schedule

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

public class Schedule extends Object implements Serializable
Defines a period of time to perform a specific action. Each schedule must be associated with one or more schedule groups to be used.
See Also:
  • Constructor Details

    • Schedule

      public Schedule()
    • Schedule

      public Schedule(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

      public Schedule name(String name)
      The name of the entity.
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • division

      public Schedule division(WritableDivision division)
      The division to which this entity belongs.
    • getDivision

      public WritableDivision getDivision()
    • setDivision

      public void setDivision(WritableDivision division)
    • description

      public Schedule description(String description)
      The resource's description.
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • version

      public Schedule version(Integer version)
      The current version of the resource.
    • getVersion

      public Integer getVersion()
    • setVersion

      public void setVersion(Integer version)
    • getDateCreated

      public Date getDateCreated()
    • getDateModified

      public Date getDateModified()
    • getModifiedBy

      public String getModifiedBy()
    • getCreatedBy

      public String getCreatedBy()
    • getState

      public Schedule.StateEnum getState()
    • getModifiedByApp

      public String getModifiedByApp()
    • getCreatedByApp

      public String getCreatedByApp()
    • start

      public Schedule start(LocalDateTime start)
      Date time is represented as an ISO-8601 string without a timezone. For example: yyyy-MM-ddTHH:mm:ss.SSS
    • getStart

      public LocalDateTime getStart()
    • setStart

      public void setStart(LocalDateTime start)
    • end

      public Schedule end(LocalDateTime end)
      Date time is represented as an ISO-8601 string without a timezone. For example: yyyy-MM-ddTHH:mm:ss.SSS
    • getEnd

      public LocalDateTime getEnd()
    • setEnd

      public void setEnd(LocalDateTime end)
    • rrule

      public Schedule rrule(String rrule)
      An iCal Recurrence Rule (RRULE) string. It is required to be set for schedules determining when upgrades to the Edge software can be applied.
    • getRrule

      public String getRrule()
    • setRrule

      public void setRrule(String rrule)
    • getSelfUri

      public String getSelfUri()
    • 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