Class IVR

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

public class IVR extends Object implements Serializable
Defines the phone numbers, operating hours, and the Architect flows to execute for an IVR.
See Also:
  • Constructor Details

    • IVR

      public IVR()
    • IVR

      public IVR(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

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

      public String getName()
    • setName

      public void setName(String name)
    • division

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

      public WritableDivision getDivision()
    • setDivision

      public void setDivision(WritableDivision division)
    • description

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

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • version

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

      public String getModifiedByApp()
    • getCreatedByApp

      public String getCreatedByApp()
    • dnis

      public IVR dnis(List<String> dnis)
      The phone number(s) to contact the IVR by. Each phone number must be unique and not in use by another resource. For example, a user and an iVR cannot have the same phone number.
    • getDnis

      public List<String> getDnis()
    • setDnis

      public void setDnis(List<String> dnis)
    • openHoursFlow

      public IVR openHoursFlow(DomainEntityRef openHoursFlow)
      The Architect flow to execute during the hours an organization is open.
    • getOpenHoursFlow

      public DomainEntityRef getOpenHoursFlow()
    • setOpenHoursFlow

      public void setOpenHoursFlow(DomainEntityRef openHoursFlow)
    • closedHoursFlow

      public IVR closedHoursFlow(DomainEntityRef closedHoursFlow)
      The Architect flow to execute during the hours an organization is closed.
    • getClosedHoursFlow

      public DomainEntityRef getClosedHoursFlow()
    • setClosedHoursFlow

      public void setClosedHoursFlow(DomainEntityRef closedHoursFlow)
    • holidayHoursFlow

      public IVR holidayHoursFlow(DomainEntityRef holidayHoursFlow)
      The Architect flow to execute during an organization's holiday hours.
    • getHolidayHoursFlow

      public DomainEntityRef getHolidayHoursFlow()
    • setHolidayHoursFlow

      public void setHolidayHoursFlow(DomainEntityRef holidayHoursFlow)
    • scheduleGroup

      public IVR scheduleGroup(DomainEntityRef scheduleGroup)
      The schedule group defining the open and closed hours for an organization. If this is provided, an open flow and a closed flow must be specified as well.
    • getScheduleGroup

      public DomainEntityRef getScheduleGroup()
    • setScheduleGroup

      public void setScheduleGroup(DomainEntityRef scheduleGroup)
    • 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