code: def _convert_to_lexicon(self, record):
          
  
          name = record['Name']
          if self.domain not in name:
              name = "{}.{}".format(name, self.domain)
  
          processed_record = {
              'type': record['Type'],
              'name': '{0}.{1}'.format(record['Name'], self.domain),
              'ttl': record['TTL'],
              'content': record['Address'],
              'id': record['HostId']
          }
  
          return processed_record
docs: converts from namecheap raw record format to lexicon format record