def METHOD_NAME(self, rtype=None, name=None, content=None):
    request_data = {"domainname": self.domain}
    payload = self._post("/domain/listrecords", data=request_data)
    # Convert from Glesys record structure to Lexicon structure.
    processed_records = [
        self._glesysrecord2lexiconrecord(r) for r in payload["response"]["records"]
    ]
    if rtype:
        processed_records = [
            record for record in processed_records if record["type"] == rtype
        ]
    if name:
        processed_records = [
            record
            for record in processed_records
            if record["name"] == self._full_name(name)
        ]
    if content:
        processed_records = [
            record
            for record in processed_records
            if record["content"].lower() == content.lower()
        ]
    return processed_records