PhoneNumberType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. communication. administration. models. PhoneNumberType
- com.
- com.
public final class PhoneNumberType
extends ExpandableStringEnum<PhoneNumberType>
Defines values for PhoneNumberType.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Phone |
GEOGRAPHIC
Static value Geographic for Phone |
|
static final
Phone |
INDIRECT
Static value Indirect for Phone |
|
static final
Phone |
TOLL_FREE
Static value Toll |
|
static final
Phone |
UNKNOWN
Static value Unknown for Phone |
Constructor Summary
| Constructor | Description | |
|---|---|---|
| PhoneNumberType() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Phone |
fromString(String name)
Creates or finds a Phone |
|
static
Collection<Phone |
values() |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
GEOGRAPHIC
public static final PhoneNumberType GEOGRAPHIC
Static value Geographic for PhoneNumberType.
INDIRECT
public static final PhoneNumberType INDIRECT
Static value Indirect for PhoneNumberType.
TOLL_FREE
public static final PhoneNumberType TOLL_FREE
Static value TollFree for PhoneNumberType.
UNKNOWN
public static final PhoneNumberType UNKNOWN
Static value Unknown for PhoneNumberType.
Constructor Details
PhoneNumberType
public PhoneNumberType()
Method Details
fromString
public static PhoneNumberType fromString(String name)
Creates or finds a PhoneNumberType from its string representation.
Parameters:
Returns:
values
public static Collection<PhoneNumberType> values()
Returns: