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