Class OperatorInformation

java.lang.Object
com.azure.communication.phonenumbers.models.OperatorInformation

public final class OperatorInformation extends Object
Represents metadata about a phone number that is controlled/provided by that phone number's operator.
  • Constructor Details

    • OperatorInformation

      public OperatorInformation()
  • Method Details

    • getPhoneNumber

      public String getPhoneNumber()
      Get the phoneNumber property: E.164 formatted string representation of the phone number.
      Returns:
      the phoneNumber value.
    • getNationalFormat

      public String getNationalFormat()
      Get the nationalFormat property: National format of the phone number.
      Returns:
      the nationalFormat value.
    • getInternationalFormat

      public String getInternationalFormat()
      Get the internationalFormat property: International format of the phone number.
      Returns:
      the internationalFormat value.
    • getIsoCountryCode

      public String getIsoCountryCode()
      Get the isoCountryCode property: ISO 3166-1 two character ('alpha-2') code associated with the phone number.
      Returns:
      the isoCountryCode value.
    • getNumberType

      public OperatorNumberType getNumberType()
      Get the numberType property: Type of service associated with the phone number.
      Returns:
      the numberType value.
    • getOperatorDetails

      public OperatorDetails getOperatorDetails()
      Get the operatorDetails property: Represents metadata describing the operator of a phone number.
      Returns:
      the operatorDetails value.