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
FieldsModifier and TypeFieldDescriptionstatic final PhoneNumberTypeStatic value geographic for PhoneNumberType.static final PhoneNumberTypeStatic value tollFree for PhoneNumberType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PhoneNumberTypefromString(String name) Creates or finds a PhoneNumberType from its string representation.static Collection<PhoneNumberType>values()Gives a collection of PhoneNumberType valuesMethods 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
Gives a collection of PhoneNumberType values- Returns:
- known PhoneNumberType values.
-