docs: def add_record(cls, fqdn, name, type, value, ttl):
          """Create record for a domain."""
          data = {
              "rrset_name": name,
              "rrset_type": type,
              "rrset_values": value,
          }
          if ttl:
              data['rrset_ttl'] = int(ttl)
          meta = cls.get_fqdn_info(fqdn)
          url = meta['domain_records_href']
          return cls.json_post(url, data=json.dumps(data))