Class PhoneNumberSearchOptions

java.lang.Object
com.azure.communication.phonenumbers.models.PhoneNumberSearchOptions

public final class PhoneNumberSearchOptions extends Object
The PhoneNumberSearchOptions model.
  • Constructor Details

    • PhoneNumberSearchOptions

      public PhoneNumberSearchOptions()
  • Method Details

    • 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.