def _set_user_session_info(self, v, load=False):
    """
    Setter method for user_session_info, mapped from YANG variable /brocade_aaa_ext_rpc/user_session_info (rpc)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_user_session_info is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_user_session_info() directly.
    """
    if hasattr(v, "_utype"):
      v = v._utype(v)
    try:
      t = YANGDynClass(v,base=user_session_info.user_session_info, is_leaf=True, yang_name="user-session-info", rest_name="user-session-info", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'tailf-common': {u'hidden': u'rpccmd', u'exec': u'/fabos/bin/userSessionInfo'}}, namespace='urn:brocade.com:mgmt:brocade-aaa-ext', defining_module='brocade-aaa-ext', yang_type='rpc', is_config=True)
    except (TypeError, ValueError):
      raise ValueError({
          'error-string': """user_session_info must be of a type compatible with rpc""",
          'defined-type': "rpc",
          'generated-type': """YANGDynClass(base=user_session_info.user_session_info, is_leaf=True, yang_name="user-session-info", rest_name="user-session-info", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'tailf-common': {u'hidden': u'rpccmd', u'exec': u'/fabos/bin/userSessionInfo'}}, namespace='urn:brocade.com:mgmt:brocade-aaa-ext', defining_module='brocade-aaa-ext', yang_type='rpc', is_config=True)""",
        })

    self.__user_session_info = t
    if hasattr(self, '_set'):
      self._set()
def _set_user_session_info ( self , v , load = False ) : if hasattr ( v , "_utype" ) : v = v . _utype ( v ) try : t = YANGDynClass ( v , base = user_session_info . user_session_info , is_leaf = True , yang_name = "user-session-info" , rest_name = "user-session-info" , parent = self , path_helper = self . _path_helper , extmethods = self . _extmethods , register_paths = False , extensions = { u'tailf-common' : { u'hidden' : u'rpccmd' , u'exec' : u'/fabos/bin/userSessionInfo' } } , namespace = 'urn:brocade.com:mgmt:brocade-aaa-ext' , defining_module = 'brocade-aaa-ext' , yang_type = 'rpc' , is_config = True ) except ( TypeError , ValueError ) : raise ValueError ( { 'error-string' : """user_session_info must be of a type compatible with rpc""" , 'defined-type' : "rpc" , 'generated-type' : """YANGDynClass(base=user_session_info.user_session_info, is_leaf=True, yang_name="user-session-info", rest_name="user-session-info", parent=self, path_helper=self._path_helper, extmethods=self._extmethods, register_paths=False, extensions={u'tailf-common': {u'hidden': u'rpccmd', u'exec': u'/fabos/bin/userSessionInfo'}}, namespace='urn:brocade.com:mgmt:brocade-aaa-ext', defining_module='brocade-aaa-ext', yang_type='rpc', is_config=True)""" , } ) self . __user_session_info = t if hasattr ( self , '_set' ) : self . _set ( )
Setter method for user_session_info, mapped from YANG variable /brocade_aaa_ext_rpc/user_session_info (rpc)
    If this variable is read-only (config: false) in the
    source YANG file, then _set_user_session_info is considered as a private
    method. Backends looking to populate this variable should
    do so via calling thisObj._set_user_session_info() directly.