def METHOD_NAME(self, rtype=None, name=None, content=None):
    query = {"domain": self.domain_id}
    payload = self._get("/dnsListRecords", query)
    records = []
    for record in payload.find("reply").findall("resource_record"):
        processed_record = {
            "type": record.find("type").text,
            "name": record.find("host").text,
            "ttl": record.find("ttl").text,
            "content": record.find("value").text,
            "id": record.find("record_id").text,
        }
        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