Class ScheduleGroup

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

public class ScheduleGroup extends Object implements Serializable
A group of schedules that define the operating hours of an organization.
See Also:
  • Constructor Details

    • ScheduleGroup

      public ScheduleGroup()
    • ScheduleGroup

      public ScheduleGroup(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

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

      public String getName()
    • setName

      public void setName(String name)
    • division

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

      public WritableDivision getDivision()
    • setDivision

      public void setDivision(WritableDivision division)
    • description

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

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • version

      public ScheduleGroup 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 ScheduleGroup.StateEnum getState()
    • getModifiedByApp

      public String getModifiedByApp()
    • getCreatedByApp

      public String getCreatedByApp()
    • timeZone

      public ScheduleGroup timeZone(String timeZone)
      The timezone the schedules are a part of. This is not a schedule property to allow a schedule to be used in multiple timezones.
    • getTimeZone

      public String getTimeZone()
    • setTimeZone

      public void setTimeZone(String timeZone)
    • openSchedules

      public ScheduleGroup openSchedules(List<DomainEntityRef> openSchedules)
      The schedules defining the hours an organization is open.
    • getOpenSchedules

      public List<DomainEntityRef> getOpenSchedules()
    • setOpenSchedules

      public void setOpenSchedules(List<DomainEntityRef> openSchedules)
    • closedSchedules

      public ScheduleGroup closedSchedules(List<DomainEntityRef> closedSchedules)
      The schedules defining the hours an organization is closed.
    • getClosedSchedules

      public List<DomainEntityRef> getClosedSchedules()
    • setClosedSchedules

      public void setClosedSchedules(List<DomainEntityRef> closedSchedules)
    • holidaySchedules

      public ScheduleGroup holidaySchedules(List<DomainEntityRef> holidaySchedules)
      The schedules defining the hours an organization is closed for the holidays.
    • getHolidaySchedules

      public List<DomainEntityRef> getHolidaySchedules()
    • setHolidaySchedules

      public void setHolidaySchedules(List<DomainEntityRef> holidaySchedules)
    • 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