docstr: Download the leader model in AutoML in MOJO format.
  
  :param path: the path where MOJO file should be saved.
  :param get_genmodel_jar: if True, then also download h2o-genmodel.jar and store it in folder ``path``.
  :param genmodel_name: Custom name of genmodel jar
  :returns: name of the MOJO file written.
docstr_tok: ["Download","the","leader","model","in","AutoML","in","MOJO","format",".",":","param","path",":","the","path","where","MOJO","file","should","be","saved",".",":","param","get_genmodel_jar",":","if","True",",","then","also","download","h2o-genmodel.jar","and","store","it","in","folder","``","path","``",".",":","param","genmodel_name",":","Custom","name","of","genmodel","jar",":","returns",":","name","of","the","MOJO","file","written","."]
code: def download_mojo(
      self, path=".", get_genmodel_jar=False, genmodel_name=""
  ):
      """
      Download the leader model in AutoML in MOJO format.
  
      :param path: the path where MOJO file should be saved.
      :param get_genmodel_jar: if True, then also download h2o-genmodel.jar and store it in folder ``path``.
      :param genmodel_name: Custom name of genmodel jar
      :returns: name of the MOJO file written.
      """
      return ModelBase.download_mojo(
          self.leader, path, get_genmodel_jar, genmodel_name
      )
  
imports: import h2o
  from h2o.base import Keyed
  from h2o.exceptions import H2OValueError
  from h2o.job import H2OJob
  from h2o.model import ModelBase
  from h2o.utils.compatibility import *
  from h2o.utils.typechecks import assert_is_type, is_type
label_desc: Use image node_id 3 for calling the H2OAutoMLBaseMixin obj's underlying member method code with example usage: obj.download_mojo(path, get_genmodel_jar, genmodel_name) and returns: ModelBase