Class TrunkBase

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

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

    • TrunkBase

      public TrunkBase()
    • TrunkBase

      public TrunkBase(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

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

      public String getName()
    • setName

      public void setName(String name)
    • division

      public TrunkBase division(Division division)
      The division to which this entity belongs.
    • getDivision

      public Division getDivision()
    • setDivision

      public void setDivision(Division division)
    • description

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

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • version

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

      public String getModifiedByApp()
    • getCreatedByApp

      public String getCreatedByApp()
    • trunkMetabase

      public TrunkBase trunkMetabase(DomainEntityRef trunkMetabase)
      The meta-base this trunk is based on.
    • getTrunkMetabase

      public DomainEntityRef getTrunkMetabase()
    • setTrunkMetabase

      public void setTrunkMetabase(DomainEntityRef trunkMetabase)
    • properties

      public TrunkBase properties(Map<String,Object> properties)
    • getProperties

      public Map<String,Object> getProperties()
    • setProperties

      public void setProperties(Map<String,Object> properties)
    • trunkType

      public TrunkBase trunkType(TrunkBase.TrunkTypeEnum trunkType)
      The type of this trunk base.
    • getTrunkType

      public TrunkBase.TrunkTypeEnum getTrunkType()
    • setTrunkType

      public void setTrunkType(TrunkBase.TrunkTypeEnum trunkType)
    • managed

      public TrunkBase managed(Boolean managed)
      Is this trunk being managed remotely. This property is synchronized with the managed property of the Edge Group to which it is assigned.
    • getManaged

      public Boolean getManaged()
    • setManaged

      public void setManaged(Boolean managed)
    • site

      public TrunkBase site(DomainEntityRef site)
      Used to determine the media regions for inbound and outbound calls through a trunk. Also determines the dial plan to use for calls that came in on a trunk and have to be sent out on it as well.
    • getSite

      public DomainEntityRef getSite()
    • setSite

      public void setSite(DomainEntityRef site)
    • inboundSite

      public TrunkBase inboundSite(DomainEntityRef inboundSite)
      Allows a customer to set the site to which inbound calls will be routed
    • getInboundSite

      public DomainEntityRef getInboundSite()
    • setInboundSite

      public void setInboundSite(DomainEntityRef inboundSite)
    • 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