#NEWLINE# def _fill_from_data( self , meta = None , expiration = None , plugin_name = None , plugin_ca_id = None , created = None , updated = None , status = None , creator_id = None ) : #NEWLINE# #INDENT# self . _name = None #NEWLINE# self . _description = None #NEWLINE# if meta : #NEWLINE# #INDENT# for s in meta : #NEWLINE# #INDENT# key = list ( s . keys ( ) ) [ 0 ] #NEWLINE# value = list ( s . values ( ) ) [ 0 ] #NEWLINE# if ( key == 'name' ) : #NEWLINE# #INDENT# self . _name = value #NEWLINE# #UNINDENT# if ( key == 'description' ) : #NEWLINE# #INDENT# self . _description = value #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# self . _plugin_name = plugin_name #NEWLINE# self . _plugin_ca_id = plugin_ca_id #NEWLINE# self . _expiration = expiration #NEWLINE# self . _creator_id = creator_id #NEWLINE# if self . _expiration : #NEWLINE# #INDENT# self . _expiration = parse_isotime ( self . _expiration ) #NEWLINE# #UNINDENT# if self . _ca_ref : #NEWLINE# #INDENT# self . _status = status #NEWLINE# self . _created = created #NEWLINE# self . _updated = updated #NEWLINE# if self . _created : #NEWLINE# #INDENT# self . _created = parse_isotime ( self . _created ) #NEWLINE# #UNINDENT# if self . _updated : #NEWLINE# #INDENT# self . _updated = parse_isotime ( self . _updated ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# self . _status = None #NEWLINE# self . _created = None #NEWLINE# self . _updated = None