Setter method for autoupgrade_params, mapped from YANG variable /firmware/autoupgrade_params (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_autoupgrade_params is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_autoupgrade_params() directly.

def _set_autoupgrade_params(self, v, load=False):
    """
    Setter method for autoupgrade_params, mapped from YANG variable /firmware/autoupgrade_params (container)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_autoupgrade_params is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_autoupgrade_params() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=autoupgrade_params.autoupgrade_params, is_container='container', presence=False, yang_name="autoupgrade-params", rest_name="auto-upgrade-params", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Enter Node auto-upgrade parameters', u'cli-full-no': None, u'callpoint': u'FirmwareCallPoint', u'display-when': u'/vcsmode/vcs-cluster-mode = "true"', u'hidden': u'built-in-self-test', u'alt-name': u'auto-upgrade-params'}}, namespace='urn:brocade.com:mgmt:brocade-firmware', defining_module='brocade-firmware', yang_type='container', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """autoupgrade_params must be of a type compatible with container""",
          'defined-type': "container",
          'generated-type': """YANGDynClass(base=autoupgrade_params.autoupgrade_params, is_container='container', presence=False, yang_name="autoupgrade-params", rest_name="auto-upgrade-params", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u'Enter Node auto-upgrade parameters', u'cli-full-no': None, u'callpoint': u'FirmwareCallPoint', u'display-when': u'/vcsmode/vcs-cluster-mode = "true"', u'hidden': u'built-in-self-test', u'alt-name': u'auto-upgrade-params'}}, namespace='urn:brocade.com:mgmt:brocade-firmware', defining_module='brocade-firmware', yang_type='container', is_config=True)""",
        })

    self.__autoupgrade_params = t
    if hasattr(self, '_set'):
      self._set()