PhonePlan Class

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

public final class PhonePlan

The PhonePlan model.

Constructor Summary

Constructor Description
PhonePlan()

Method Summary

Modifier and Type Method and Description
List<String> getAreaCodes()

Get the areaCodes property: The list of available area codes in the phone plan.

List<Capability> getCapabilities()

Get the capabilities property: Capabilities of the phone plan.

String getLocalizedName()

Get the localizedName property: The name of the phone plan.

LocationType getLocationType()

Get the locationType property: The location type of the phone plan.

Integer getMaximumSearchSize()

Get the maximumSearchSize property: The maximum number of phone numbers one can acquire in a search in this phone plan.

String getPhonePlanId()

Get the phonePlanId property: The phone plan id.

PhonePlan setAreaCodes(List<String> areaCodes)

Set the areaCodes property: The list of available area codes in the phone plan.

PhonePlan setCapabilities(List<Capability> capabilities)

Set the capabilities property: Capabilities of the phone plan.

PhonePlan setLocalizedName(String localizedName)

Set the localizedName property: The name of the phone plan.

PhonePlan setLocationType(LocationType locationType)

Set the locationType property: The location type of the phone plan.

PhonePlan setMaximumSearchSize(Integer maximumSearchSize)

Set the maximumSearchSize property: The maximum number of phone numbers one can acquire in a search in this phone plan.

PhonePlan setPhonePlanId(String phonePlanId)

Set the phonePlanId property: The phone plan id.

Methods inherited from java.lang.Object

Constructor Details

PhonePlan

public PhonePlan()

Method Details

getAreaCodes

public List getAreaCodes()

Get the areaCodes property: The list of available area codes in the phone plan.

Returns:

the areaCodes value.

getCapabilities

public List getCapabilities()

Get the capabilities property: Capabilities of the phone plan.

Returns:

the capabilities value.

getLocalizedName

public String getLocalizedName()

Get the localizedName property: The name of the phone plan.

Returns:

the localizedName value.

getLocationType

public LocationType getLocationType()

Get the locationType property: The location type of the phone plan.

Returns:

the locationType value.

getMaximumSearchSize

public Integer getMaximumSearchSize()

Get the maximumSearchSize property: The maximum number of phone numbers one can acquire in a search in this phone plan.

Returns:

the maximumSearchSize value.

getPhonePlanId

public String getPhonePlanId()

Get the phonePlanId property: The phone plan id.

Returns:

the phonePlanId value.

setAreaCodes

public PhonePlan setAreaCodes(List areaCodes)

Set the areaCodes property: The list of available area codes in the phone plan.

Parameters:

areaCodes - the areaCodes value to set.

Returns:

the PhonePlan object itself.

setCapabilities

public PhonePlan setCapabilities(List capabilities)

Set the capabilities property: Capabilities of the phone plan.

Parameters:

capabilities - the capabilities value to set.

Returns:

the PhonePlan object itself.

setLocalizedName

public PhonePlan setLocalizedName(String localizedName)

Set the localizedName property: The name of the phone plan.

Parameters:

localizedName - the localizedName value to set.

Returns:

the PhonePlan object itself.

setLocationType

public PhonePlan setLocationType(LocationType locationType)

Set the locationType property: The location type of the phone plan.

Parameters:

locationType - the locationType value to set.

Returns:

the PhonePlan object itself.

setMaximumSearchSize

public PhonePlan setMaximumSearchSize(Integer maximumSearchSize)

Set the maximumSearchSize property: The maximum number of phone numbers one can acquire in a search in this phone plan.

Parameters:

maximumSearchSize - the maximumSearchSize value to set.

Returns:

the PhonePlan object itself.

setPhonePlanId

public PhonePlan setPhonePlanId(String phonePlanId)

Set the phonePlanId property: The phone plan id.

Parameters:

phonePlanId - the phonePlanId value to set.

Returns:

the PhonePlan object itself.

Applies to