Class PhoneNumberType
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<PhoneNumberType>
-
- com.azure.communication.phonenumbers.models.PhoneNumberType
-
public final class PhoneNumberType extends com.azure.core.util.ExpandableStringEnum<PhoneNumberType>
Defines values for PhoneNumberType.
-
-
Field Summary
Fields Modifier and Type Field Description static PhoneNumberType
GEOGRAPHIC
Static value geographic for PhoneNumberType.static PhoneNumberType
TOLL_FREE
Static value tollFree for PhoneNumberType.
-
Constructor Summary
Constructors Constructor Description PhoneNumberType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PhoneNumberType
fromString(String name)
Creates or finds a PhoneNumberType from its string representation.static Collection<PhoneNumberType>
values()
-
-
-
Field Detail
-
GEOGRAPHIC
public static final PhoneNumberType GEOGRAPHIC
Static value geographic for PhoneNumberType.
-
TOLL_FREE
public static final PhoneNumberType TOLL_FREE
Static value tollFree for PhoneNumberType.
-
-
Method Detail
-
fromString
public static PhoneNumberType fromString(String name)
Creates or finds a PhoneNumberType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PhoneNumberType.
-
values
public static Collection<PhoneNumberType> values()
- Returns:
- known PhoneNumberType values.
-
-