Package com.mypurecloud.sdk.v2.model
Class DIDNumber
java.lang.Object
com.mypurecloud.sdk.v2.model.DIDNumber
- All Implemented Interfaces:
Serializable
Represents an unassigned or assigned DID in a DID Pool.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe type of the entity that owns this DID. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionTrue if this DID is assigned to an entity.didPool(AddressableEntityRef didPool) A Uri reference to the DID Pool this DID is a part of.booleangetId()getName()getOwner()inthashCode()The number of the DID formatted as E164.owner(DomainEntityRef owner) A Uri reference to the owner of this DID.ownerType(DIDNumber.OwnerTypeEnum ownerType) The type of the entity that owns this DID.voidsetAssigned(Boolean assigned) voidsetDidPool(AddressableEntityRef didPool) voidvoidvoidsetOwner(DomainEntityRef owner) voidsetOwnerType(DIDNumber.OwnerTypeEnum ownerType) toString()
-
Constructor Details
-
DIDNumber
public DIDNumber() -
DIDNumber
-
-
Method Details
-
getId
-
name
-
getName
-
setName
-
number
The number of the DID formatted as E164. -
getNumber
-
setNumber
-
assigned
True if this DID is assigned to an entity. False otherwise. -
getAssigned
-
setAssigned
-
didPool
A Uri reference to the DID Pool this DID is a part of. -
getDidPool
-
setDidPool
-
owner
A Uri reference to the owner of this DID. The owner's type can be found in ownerType. If the DID is unassigned, this will be NULL. -
getOwner
-
setOwner
-
ownerType
The type of the entity that owns this DID. If the DID is unassigned, this will be NULL. -
getOwnerType
-
setOwnerType
-
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-