#NEWLINE# @ classmethod #NEWLINE# def from_dict( cls , dict_ , return_obj = None ) : #NEWLINE# #INDENT# if ( not dict_ ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# if ( not return_obj ) : #NEWLINE# #INDENT# return_obj = cls ( ) #NEWLINE# #UNINDENT# return_obj . asset_losses = VocabString . from_dict ( dict_ . get ( 'asset_losses' ) ) #NEWLINE# return_obj . business_mission_disruption = VocabString . from_dict ( dict_ . get ( 'business_mission_disruption' ) ) #NEWLINE# return_obj . response_and_recovery_costs = VocabString . from_dict ( dict_ . get ( 'response_and_recovery_costs' ) ) #NEWLINE# return return_obj