code: def create_record_mx(self, zone_id, record, data, ttl=60, priority=10):
          
          resource_record = self._generate_create_dict(record, 'MX', data, ttl,
                                                       domainId=zone_id, mxPriority=priority)
          return self.record.createObject(resource_record)
docs: Create a mx resource record on a domain.
  
          :param integer id: the zone's ID
          :param record: the name of the record to add
          :param data: the record's value
          :param integer ttl: the TTL or time-to-live value (default: 60)
          :param integer priority: the priority of the target host