docstr: Download the POJO for the leader model in AutoML to the directory specified by path.
  
  If path is an empty string, then dump the output to screen.
  
  :param path:  An absolute path to the directory where POJO 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 POJO file written.
docstr_tok: ["Download","the","POJO","for","the","leader","model","in","AutoML","to","the","directory","specified","by","path",".","If","path","is","an","empty","string",",","then","dump","the","output","to","screen",".",":","param","path",":","An","absolute","path","to","the","directory","where","POJO","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","POJO","file","written","."]
code: def download_pojo(
      self, path="", get_genmodel_jar=False, genmodel_name=""
  ):
      """
      Download the POJO for the leader model in AutoML to the directory specified by path.
  
      If path is an empty string, then dump the output to screen.
  
      :param path:  An absolute path to the directory where POJO 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 POJO file written.
      """
      return h2o.download_pojo(
          self.leader,
          path,
          get_jar=get_genmodel_jar,
          jar_name=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 2 for calling the H2OAutoMLBaseMixin obj's underlying member method code with example usage: obj.download_pojo(path, get_genmodel_jar, genmodel_name) and returns: h2o