Class DID

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

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

    • DID

      public DID()
    • DID

      public DID(Boolean initWithEmptyList)
  • Method Details

    • getId

      public String getId()
    • name

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

      public String getName()
    • setName

      public void setName(String name)
    • division

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

      public Division getDivision()
    • setDivision

      public void setDivision(Division division)
    • description

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

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • version

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

      public String getModifiedByApp()
    • getCreatedByApp

      public String getCreatedByApp()
    • phoneNumber

      public DID phoneNumber(String phoneNumber)
    • getPhoneNumber

      public String getPhoneNumber()
    • setPhoneNumber

      public void setPhoneNumber(String phoneNumber)
    • didPool

      public DID didPool(DomainEntityRef didPool)
    • getDidPool

      public DomainEntityRef getDidPool()
    • setDidPool

      public void setDidPool(DomainEntityRef didPool)
    • owner

      public DID owner(DomainEntityRef owner)
      A Uri reference to the owner of this DID, which is either a User or an IVR
    • getOwner

      public DomainEntityRef getOwner()
    • setOwner

      public void setOwner(DomainEntityRef owner)
    • ownerType

      public DID ownerType(DID.OwnerTypeEnum ownerType)
    • getOwnerType

      public DID.OwnerTypeEnum getOwnerType()
    • setOwnerType

      public void setOwnerType(DID.OwnerTypeEnum ownerType)
    • 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