code: def list(self, category=values.unset, start_date=values.unset,
               end_date=values.unset, include_subaccounts=values.unset, limit=None,
               page_size=None):
          
          return list(self.stream(
              category=category,
              start_date=start_date,
              end_date=end_date,
              include_subaccounts=include_subaccounts,
              limit=limit,
              page_size=page_size,
          ))
docs: Lists RecordInstance records from the API as a list.
          Unlike stream(), this operation is eager and will load `limit` records into
          memory before returning.
  
          :param RecordInstance.Category category: The usage category of the UsageRecord resources to read
          :param date start_date: Only include usage that has occurred on or after this date
          :param date end_date: Only include usage that occurred on or before this date
          :param bool include_subaccounts: Whether to include usage from the master account and all its subaccounts
          :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.usage.record.RecordInstance]