PhoneNumberCountry Class

  • java.lang.Object
    • com.azure.communication.administration.models.PhoneNumberCountry

public final class PhoneNumberCountry

The PhoneNumberCountry model.

Constructor Summary

Constructor Description
PhoneNumberCountry()

Method Summary

Modifier and Type Method and Description
String getCountryCode()

Get the countryCode property: Represents the abbreviated name of the country.

String getLocalizedName()

Get the localizedName property: Represents the name of the country.

PhoneNumberCountry setCountryCode(String countryCode)

Set the countryCode property: Represents the abbreviated name of the country.

PhoneNumberCountry setLocalizedName(String localizedName)

Set the localizedName property: Represents the name of the country.

Methods inherited from java.lang.Object

Constructor Details

PhoneNumberCountry

public PhoneNumberCountry()

Method Details

getCountryCode

public String getCountryCode()

Get the countryCode property: Represents the abbreviated name of the country.

Returns:

the countryCode value.

getLocalizedName

public String getLocalizedName()

Get the localizedName property: Represents the name of the country.

Returns:

the localizedName value.

setCountryCode

public PhoneNumberCountry setCountryCode(String countryCode)

Set the countryCode property: Represents the abbreviated name of the country.

Parameters:

countryCode - the countryCode value to set.

Returns:

the PhoneNumberCountry object itself.

setLocalizedName

public PhoneNumberCountry setLocalizedName(String localizedName)

Set the localizedName property: Represents the name of the country.

Parameters:

localizedName - the localizedName value to set.

Returns:

the PhoneNumberCountry object itself.

Applies to