Interface AvailableNumberListRequest


public interface AvailableNumberListRequest
Parameters request to list available numbers for a project
Since:
1.2
See Also:
  • Method Details

    • getRegionCode

      String getRegionCode()
      Returns:
      Region code to filter by. ISO 3166-1 alpha-2 country code of the phone number. Example: `US`, `GB` or `SE`. (required)
    • getType

      NumberType getType()
      Returns:
      Number type to filter by. Options include, `MOBILE`, `LOCAL` or `TOLL_FREE`. (required)
    • getSearchPattern

      SearchPattern getSearchPattern()
      Returns:
      Search criteria
    • getCapabilities

      Collection<Capability> getCapabilities()
      Returns:
      Number capabilities to filter by, `SMS` and/or `VOICE`.
    • getSize

      Integer getSize()
      Returns:
      The maximum number of items to return
    • builder