def list(self, area_code=values.unset, contains=values.unset,<EOL>sms_enabled=values.unset, mms_enabled=values.unset,<EOL>voice_enabled=values.unset, exclude_all_address_required=values.unset,<EOL>exclude_local_address_required=values.unset,<EOL>exclude_foreign_address_required=values.unset, beta=values.unset,<EOL>near_number=values.unset, near_lat_long=values.unset,<EOL>distance=values.unset, in_postal_code=values.unset,<EOL>in_region=values.unset, in_rate_center=values.unset,<EOL>in_lata=values.unset, in_locality=values.unset,<EOL>fax_enabled=values.unset, limit=None, page_size=None):
return list(self.stream(<EOL>area_code=area_code,<EOL>contains=contains,<EOL>sms_enabled=sms_enabled,<EOL>mms_enabled=mms_enabled,<EOL>voice_enabled=voice_enabled,<EOL>exclude_all_address_required=exclude_all_address_required,<EOL>exclude_local_address_required=exclude_local_address_required,<EOL>exclude_foreign_address_required=exclude_foreign_address_required,<EOL>beta=beta,<EOL>near_number=near_number,<EOL>near_lat_long=near_lat_long,<EOL>distance=distance,<EOL>in_postal_code=in_postal_code,<EOL>in_region=in_region,<EOL>in_rate_center=in_rate_center,<EOL>in_lata=in_lata,<EOL>in_locality=in_locality,<EOL>fax_enabled=fax_enabled,<EOL>limit=limit,<EOL>page_size=page_size,<EOL>))<EOL>
Lists MachineToMachineInstance records from the API as a list.
Unlike stream(), this operation is eager and will load `limit` records into
memory before returning.

:param unicode area_code: The area code of the phone numbers to read
:param unicode contains: The pattern on which to match phone numbers
:param bool sms_enabled: Whether the phone numbers can receive text messages
:param bool mms_enabled: Whether the phone numbers can receive MMS messages
:param bool voice_enabled: Whether the phone numbers can receive calls.
:param bool exclude_all_address_required: Whether to exclude phone numbers that require an Address
:param bool exclude_local_address_required: Whether to exclude phone numbers that require a local address
:param bool exclude_foreign_address_required: Whether to exclude phone numbers that require a foreign address
:param bool beta: Whether to read phone numbers new to the Twilio platform
:param unicode near_number: Given a phone number, find a geographically close number within distance miles. (US/Canada only)
:param unicode near_lat_long: Given a latitude/longitude pair lat,long find geographically close numbers within distance miles. (US/Canada only)
:param unicode distance: The search radius, in miles, for a near_ query. (US/Canada only)
:param unicode in_postal_code: Limit results to a particular postal code. (US/Canada only)
:param unicode in_region: Limit results to a particular region. (US/Canada only)
:param unicode in_rate_center: Limit results to a specific rate center, or given a phone number search within the same rate center as that number. (US/Canada only)
:param unicode in_lata: Limit results to a specific local access and transport area. (US/Canada only)
:param unicode in_locality: Limit results to a particular locality
:param bool fax_enabled: Whether the phone numbers can receive faxes
:param int limit: Upper limit for the number of records to return. list() guarantees
                  never to return more than limit.  Default is no limit
:param int page_size: Number of records to fetch per request, when not set will use
                      the default value of 50 records.  If no page_size is defined
                      but a limit is defined, list() will attempt to read the limit
                      with the most efficient page size, i.e. min(limit, 1000)

:returns: Generator that will yield up to limit results
:rtype: list[twilio.rest.api.v2010.account.available_phone_number.machine_to_machine.MachineToMachineInstance]