Twilio::AvailablePhoneNumbersApi
Constants
Constructors
Instance methods
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@return Crest::Request
@required @param account_sid [String?] The SID of the Account requesting the available phone number Country resource. @required @param country_code [String?] The ISO-3166-1 country code of the country to fetch available phone number information about. @return [Twilio::AvailablePhoneNumberCountry]
@required @param account_sid [String?] The SID of the Account requesting the available phone number Country resource. @required @param country_code [String?] The ISO-3166-1 country code of the country to fetch available phone number information about. @return nil
@required @param account_sid [String?] The SID of the Account requesting the available phone number Country resource. @required @param country_code [String?] The ISO-3166-1 country code of the country to fetch available phone number information about. @return [Tuple(Twilio::AvailablePhoneNumberCountry, Integer, Hash)] Twilio::AvailablePhoneNumberCountry, response status code and response headers
@required @param account_sid [String?] The SID of the Account requesting the available phone number Country resources. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Twilio::ListAvailablePhoneNumberCountryResponse]
@required @param account_sid [String?] The SID of the Account requesting the available phone number Country resources. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return nil
@required @param account_sid [String?] The SID of the Account requesting the available phone number Country resources. @optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000. @return [Tuple(Twilio::ListAvailablePhoneNumberCountryResponse, Integer, Hash)] Twilio::ListAvailablePhoneNumberCountryResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListAvailablePhoneNumberLocalResponse]
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListAvailablePhoneNumberLocalResponse, Integer, Hash)] Twilio::ListAvailablePhoneNumberLocalResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListAvailablePhoneNumberMachineToMachineResponse]
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListAvailablePhoneNumberMachineToMachineResponse, Integer, Hash)] Twilio::ListAvailablePhoneNumberMachineToMachineResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListAvailablePhoneNumberMobileResponse]
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListAvailablePhoneNumberMobileResponse, Integer, Hash)] Twilio::ListAvailablePhoneNumberMobileResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListAvailablePhoneNumberNationalResponse]
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListAvailablePhoneNumberNationalResponse, Integer, Hash)] Twilio::ListAvailablePhoneNumberNationalResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListAvailablePhoneNumberTollFreeResponse]
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListAvailablePhoneNumberTollFreeResponse, Integer, Hash)] Twilio::ListAvailablePhoneNumberTollFreeResponse, response status code and response headers
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Twilio::ListAvailablePhoneNumberVoipResponse]
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return nil
@required @param account_sid [String?] The SID of the Account requesting the AvailablePhoneNumber resources.
@required @param country_code [String?] The ISO-3166-1 country code of the country from which to read phone numbers.
@optional @param area_code [Int32?] The area code of the phone numbers to read. Applies to only phone numbers in the US and Canada.
@optional @param contains [String?] The pattern on which to match phone numbers. Valid characters are *, 0-9, a-z, and A-Z. The * character matches any single digit. For examples, see Example 2 and Example 3. If specified, this value must have at least two characters.
@optional @param sms_enabled [Bool?] Whether the phone numbers can receive text messages. Can be: true or false.
@optional @param mms_enabled [Bool?] Whether the phone numbers can receive MMS messages. Can be: true or false.
@optional @param voice_enabled [Bool?] Whether the phone numbers can receive calls. Can be: true or false.
@optional @param exclude_all_address_required [Bool?] Whether to exclude phone numbers that require an Address. Can be: true or false and the default is false.
@optional @param exclude_local_address_required [Bool?] Whether to exclude phone numbers that require a local Address. Can be: true or false and the default is false.
@optional @param exclude_foreign_address_required [Bool?] Whether to exclude phone numbers that require a foreign Address. Can be: true or false and the default is false.
@optional @param beta [Bool?] Whether to read phone numbers that are new to the Twilio platform. Can be: true or false and the default is true.
@optional @param near_number [String?] Given a phone number, find a geographically close number within distance miles. Distance defaults to 25 miles. Applies to only phone numbers in the US and Canada.
@optional @param near_lat_long [String?] Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. Applies to only phone numbers in the US and Canada.
@optional @param distance [Int32?] The search radius, in miles, for a near_ query. Can be up to 500 and the default is 25. Applies to only phone numbers in the US and Canada.
@optional @param in_postal_code [String?] Limit results to a particular postal code. Given a phone number, search within the same postal code as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_region [String?] Limit results to a particular region, state, or province. Given a phone number, search within the same region as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_rate_center [String?] Limit results to a specific rate center, or given a phone number search within the same rate center as that number. Requires in_lata to be set as well. Applies to only phone numbers in the US and Canada.
@optional @param in_lata [String?] Limit results to a specific local access and transport area (LATA). Given a phone number, search within the same LATA as that number. Applies to only phone numbers in the US and Canada.
@optional @param in_locality [String?] Limit results to a particular locality or city. Given a phone number, search within the same Locality as that number.
@optional @param fax_enabled [Bool?] Whether the phone numbers can receive faxes. Can be: true or false.
@optional @param page_size [Int32?] How many resources to return in each list page. The default is 50, and the maximum is 1000.
@return [Tuple(Twilio::ListAvailablePhoneNumberVoipResponse, Integer, Hash)] Twilio::ListAvailablePhoneNumberVoipResponse, response status code and response headers