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 Details

    • 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.
    • UPDATE_PHONE_NUMBER_CAPABILITIES

      public static final PhoneNumberOperationType UPDATE_PHONE_NUMBER_CAPABILITIES
      Static value updatePhoneNumberCapabilities for PhoneNumberOperationType.
  • Constructor Details

    • PhoneNumberOperationType

      public PhoneNumberOperationType()
  • Method Details

    • 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.