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