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 Details

    • GEOGRAPHIC

      public static final PhoneNumberType GEOGRAPHIC
      Static value geographic for PhoneNumberType.
    • TOLL_FREE

      public static final PhoneNumberType TOLL_FREE
      Static value tollFree for PhoneNumberType.
  • Constructor Details

    • PhoneNumberType

      public PhoneNumberType()
  • Method Details

    • fromString

      public static PhoneNumberType fromString(String name)
      Creates or finds a PhoneNumberType from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding PhoneNumberType.
    • values

      public static Collection<PhoneNumberType> values()
      Returns:
      known PhoneNumberType values.