code: def list_records(self, rtype=None, name=None, content=None):
          
          opts = {}
          if rtype is not None:
              opts['type'] = rtype.upper()
          if name is not None:
              opts['name'] = self._relative_name(name)
          if content is not None:
              opts['value'] = self._txt_encode(content) if opts.get(
                  'type', '') == 'TXT' else content
  
          records = []
          payload = self._api.domain.zone.record.list(
              self._api_key, self._zone_id, 0, opts)
          for record in payload:
              processed_record = {
                  'type': record['type'],
                  'name': self._full_name(record['name']),
                  'ttl': record['ttl'],
                  'content': record['value'],
                  'id': record['id']
              }
  
              # Gandi will add quotes to all TXT record strings
              if processed_record['type'] == 'TXT':
                  processed_record['content'] = self._txt_decode(
                      processed_record['content'])
  
              records.append(processed_record)
  
          LOGGER.debug("list_records: %s", records)
          return records
docs: List all record for the domain in the active Gandi zone.