Class PhoneNumberSearchOptions
- java.lang.Object
-
- com.azure.communication.phonenumbers.models.PhoneNumberSearchOptions
-
public final class PhoneNumberSearchOptions extends Object
The PhoneNumberSearchOptions model.
-
-
Constructor Summary
Constructors Constructor Description PhoneNumberSearchOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAreaCode()
Gets the area code property.Integer
getQuantity()
Gets the quantity property.PhoneNumberSearchOptions
setAreaCode(String areaCode)
Sets the area code property.PhoneNumberSearchOptions
setQuantity(Integer quantity)
Sets the quantity property.
-
-
-
Method Detail
-
setAreaCode
public PhoneNumberSearchOptions setAreaCode(String areaCode)
Sets the area code property.- Parameters:
areaCode
- the areaCode value to set.- Returns:
- the PhoneNumberSearchOptions object itself.
-
getAreaCode
public String getAreaCode()
Gets the area code property.- Returns:
- the area code.
-
setQuantity
public PhoneNumberSearchOptions setQuantity(Integer quantity)
Sets the quantity property.- Parameters:
quantity
- the quantity to set.- Returns:
- the PhoneNumberSearchOptions object itself.
-
getQuantity
public Integer getQuantity()
Gets the quantity property.- Returns:
- the quantity.
-
-