OperatorInformation Class
- java.
lang. Object - com.
azure. communication. phonenumbers. models. OperatorInformation
- com.
Implements
public final class OperatorInformation
implements JsonSerializable<OperatorInformation>
Represents metadata about a phone number that is controlled/provided by that phone number's operator.
Constructor Summary
| Constructor | Description |
|---|---|
| OperatorInformation() |
Creates an instance of Operator |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Operator |
fromJson(JsonReader jsonReader)
Reads an instance of Operator |
| String |
getInternationalFormat()
Get the international |
| String |
getIsoCountryCode()
Get the iso |
| String |
getNationalFormat()
Get the national |
|
Operator |
getNumberType()
Get the number |
|
Operator |
getOperatorDetails()
Get the operator |
| String |
getPhoneNumber()
Get the phone |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
OperatorInformation
public OperatorInformation()
Creates an instance of OperatorInformation class.
Method Details
fromJson
public static OperatorInformation fromJson(JsonReader jsonReader)
Reads an instance of OperatorInformation from the JsonReader.
Parameters:
Returns:
Throws:
getInternationalFormat
public String getInternationalFormat()
Get the internationalFormat property: International format of the phone number.
Returns:
getIsoCountryCode
public String getIsoCountryCode()
Get the isoCountryCode property: ISO 3166-1 two character ('alpha-2') code associated with the phone number.
Returns:
getNationalFormat
public String getNationalFormat()
Get the nationalFormat property: National format of the phone number.
Returns:
getNumberType
public OperatorNumberType getNumberType()
Get the numberType property: Type of service associated with the phone number.
Returns:
getOperatorDetails
public OperatorDetails getOperatorDetails()
Get the operatorDetails property: Represents metadata describing the operator of a phone number.
Returns:
getPhoneNumber
public String getPhoneNumber()
Get the phoneNumber property: E.164 formatted string representation of the phone number.
Returns: