#NEWLINE# @ classmethod #NEWLINE# def from_dict( cls , dict_repr , return_obj = None ) : #NEWLINE# #INDENT# if ( not dict_repr ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# if ( not dict_repr ) : #NEWLINE# #INDENT# return_obj = cls ( ) #NEWLINE# #UNINDENT# super ( Campaign , cls ) . from_dict ( dict_repr , return_obj = return_obj ) #NEWLINE# get = dict_repr . get #NEWLINE# return_obj . names = Names . from_dict ( get ( 'names' ) ) #NEWLINE# return_obj . intended_effects = _IntendedEffects . from_dict ( get ( 'intended_effects' ) ) #NEWLINE# return_obj . status = VocabString . from_dict ( get ( 'status' ) ) #NEWLINE# return_obj . related_ttps = RelatedTTPs . from_dict ( get ( 'related_ttps' ) ) #NEWLINE# return_obj . related_incidents = RelatedIncidents . from_dict ( get ( 'related_incidents' ) ) #NEWLINE# return_obj . related_indicators = RelatedIndicators . from_dict ( get ( 'related_indicators' ) ) #NEWLINE# return_obj . attribution = _AttributionList . from_list ( get ( 'attribution' ) ) #NEWLINE# return_obj . associated_campaigns = AssociatedCampaigns . from_dict ( get ( 'associated_campaigns' ) ) #NEWLINE# return_obj . confidence = Confidence . from_dict ( get ( 'confidence' ) ) #NEWLINE# return_obj . activity = _Activities . from_dict ( get ( 'activity' ) ) #NEWLINE# return_obj . related_packages = RelatedPackageRefs . from_dict ( get ( 'related_packages' ) ) #NEWLINE# return return_obj