PhoneNumberType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. communication. phonenumbers. models. PhoneNumberType
- com.
- com.
public final class PhoneNumberType
extends ExpandableStringEnum<PhoneNumberType>
Represents the number type of the offering.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Phone |
GEOGRAPHIC
Static value geographic for Phone |
|
static final
Phone |
MOBILE
Static value mobile for Phone |
|
static final
Phone |
TOLL_FREE
Static value toll |
Constructor Summary
| Constructor | Description |
|---|---|
| PhoneNumberType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Phone |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Phone |
fromString(String name)
Creates or finds a Phone |
|
static
Collection<Phone |
values()
Gets known Phone |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
GEOGRAPHIC
public static final PhoneNumberType GEOGRAPHIC
Static value geographic for PhoneNumberType.
MOBILE
public static final PhoneNumberType MOBILE
Static value mobile for PhoneNumberType.
TOLL_FREE
public static final PhoneNumberType TOLL_FREE
Static value tollFree for PhoneNumberType.
Constructor Details
PhoneNumberType
@Deprecated
public PhoneNumberType()
Deprecated
Creates a new instance of PhoneNumberType value.
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()
Gets known PhoneNumberType values.
Returns: