def METHOD_NAME(self, rtype=None, name=None, content=None):
    payload = self._get(f"/dns/{self.domain_id}")
    records = []
    for record in payload["records"]:
        processed_record = {
            "type": record["rtype"],
            "name": record["rname"],
            "ttl": record["ttl"],
            "content": record["rdata"],
            "id": record["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"] == self._full_name(name)
        ]
    if content:
        records = [record for record in records if record["content"] == content]
    LOGGER.debug("list_records: %s", records)
    return records