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
Modifier and TypeFieldDescriptionstatic final PhoneNumberType
Static value geographic for PhoneNumberType.static final PhoneNumberType
Static value tollFree for PhoneNumberType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PhoneNumberType
fromString
(String name) Creates or finds a PhoneNumberType from its string representation.static Collection<PhoneNumberType>
values()
Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
GEOGRAPHIC
Static value geographic for PhoneNumberType. -
TOLL_FREE
Static value tollFree for PhoneNumberType.
-
-
Constructor Details
-
PhoneNumberType
public PhoneNumberType()
-
-
Method Details
-
fromString
Creates or finds a PhoneNumberType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PhoneNumberType.
-
values
- Returns:
- known PhoneNumberType values.
-