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

def _set_desc(self, v, load=False):
    """
    Setter method for desc, mapped from YANG variable /username/desc (string)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_desc is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_desc() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=RestrictedClassType(base_type=unicode, restriction_dict={'length': [u'0 .. 64']}), default=unicode(""), is_leaf=True, yang_name="desc", rest_name="desc", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u"Description of the user (default='')", u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-aaa', defining_module='brocade-aaa', yang_type='string', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """desc must be of a type compatible with string""",
          'defined-type': "string",
          'generated-type': """YANGDynClass(base=RestrictedClassType(base_type=unicode, restriction_dict={'length': [u'0 .. 64']}), default=unicode(""), is_leaf=True, yang_name="desc", rest_name="desc", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=True, extensions={u'tailf-common': {u'info': u"Description of the user (default='')", u'cli-suppress-no': None}}, namespace='urn:brocade.com:mgmt:brocade-aaa', defining_module='brocade-aaa', yang_type='string', is_config=True)""",
        })

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