def METHOD_NAME(self, rtype=None, name=None, content=None):
    records = []
    record_data = self._get(f"/1/domain/{self.domain_id}/dns/record")
    for record in record_data["data"]:
        records.append(
            {
                "type": record["type"],
                "name": record["source_idn"],
                "ttl": record["ttl"],
                "content": record["target_idn"],
                "id": record["id"],
            }
        )
    if rtype:
        records = [record for record in records if record["type"] == rtype]
    if name:
        records = [
            record
            for record in records
            if record["name"].lower() == self._full_name(name.lower())
        ]
    if content:
        records = [
            record
            for record in records
            if record["content"].lower() == content.lower()
        ]
    LOGGER.debug("list_records: %s", records)
    return records