def METHOD_NAME(self, rtype=None, name=None, content=None):
    url = f"/zones/{self.domain_id}/recordsets"
    records = []
    payload = {}
    # Convert it to Array if it is not converted yet.
    if isinstance(content, str):
        tmp = content
        content = []
        content.append(tmp)
    # Iterating recordsets
    next_url = url
    while next_url is not None:
        payload = self._get(next_url)
        if "links" in payload and "next" in payload["links"]:
            next_url = payload["links"]["next"]
        else:
            next_url = None
        for record in payload["recordsets"]:
            processed_record = {
                "type": record["type"],
                "name": f"{record['name']}",
                "ttl": record["ttl"],
                "content": record["records"],
                "id": record["id"],
            }
            records.append(processed_record)
    if rtype:
        records = [record for record in records if record["type"] == rtype]
    if name:
        records = [
            record
            for record in records
            if record["name"].rstrip(".") == self._full_name(name)
        ]
    if content:
        if len(content) > 1:
            records = [record for record in records if record["content"] == content]
    LOGGER.debug("list_records: %s", records)
    return records