PhonePlan Class
- java.
lang. Object - com.
azure. communication. administration. models. PhonePlan
- com.
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 area |
List<Capability> |
getCapabilities()
Get the capabilities property: Capabilities of the phone plan. |
String |
getLocalizedName()
Get the localized |
Location |
getLocationType()
Get the location |
Integer |
getMaximumSearchSize()
Get the maximum |
String |
getPhonePlanId()
Get the phone |
Phone |
setAreaCodes(List<String> areaCodes)
Set the area |
Phone |
setCapabilities(List<Capability> capabilities)
Set the capabilities property: Capabilities of the phone plan. |
Phone |
setLocalizedName(String localizedName)
Set the localized |
Phone |
setLocationType(LocationType locationType)
Set the location |
Phone |
setMaximumSearchSize(Integer maximumSearchSize)
Set the maximum |
Phone |
setPhonePlanId(String phonePlanId)
Set the phone |
Methods inherited from java.lang.Object
Constructor Details
PhonePlan
public PhonePlan()
Method Details
getAreaCodes
public List
Get the areaCodes property: The list of available area codes in the phone plan.
Returns:
getCapabilities
public List
Get the capabilities property: Capabilities of the phone plan.
Returns:
getLocalizedName
public String getLocalizedName()
Get the localizedName property: The name of the phone plan.
Returns:
getLocationType
public LocationType getLocationType()
Get the locationType property: The location type of the phone plan.
Returns:
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:
getPhonePlanId
public String getPhonePlanId()
Get the phonePlanId property: The phone plan id.
Returns:
setAreaCodes
public PhonePlan setAreaCodes(List
Set the areaCodes property: The list of available area codes in the phone plan.
Parameters:
Returns:
setCapabilities
public PhonePlan setCapabilities(List
Set the capabilities property: Capabilities of the phone plan.
Parameters:
Returns:
setLocalizedName
public PhonePlan setLocalizedName(String localizedName)
Set the localizedName property: The name of the phone plan.
Parameters:
Returns:
setLocationType
public PhonePlan setLocationType(LocationType locationType)
Set the locationType property: The location type of the phone plan.
Parameters:
Returns:
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:
Returns:
setPhonePlanId
public PhonePlan setPhonePlanId(String phonePlanId)
Set the phonePlanId property: The phone plan id.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for