#NEWLINE# def _populate_from_dict( self , attr_dict ) : #NEWLINE# #INDENT# if ( not isinstance ( attr_dict , dict ) ) : #NEWLINE# #INDENT# self . value = attr_dict #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . value = attr_dict . get ( 'value' ) #NEWLINE# self . _force_datatype = attr_dict . get ( 'force_datatype' , False ) #NEWLINE# self . id_ = attr_dict . get ( 'id' ) #NEWLINE# self . idref = attr_dict . get ( 'idref' ) #NEWLINE# self . appears_random = attr_dict . get ( 'appears_random' ) #NEWLINE# self . datatype = attr_dict . get ( 'datatype' ) #NEWLINE# self . is_obfuscated = attr_dict . get ( 'is_obfuscated' ) #NEWLINE# self . obfuscation_algorithm_ref = attr_dict . get ( 'obfuscation_algorithm_ref' ) #NEWLINE# self . is_defanged = attr_dict . get ( 'is_defanged' ) #NEWLINE# self . defanging_algorithm_ref = attr_dict . get ( 'defanging_algorithm_ref' ) #NEWLINE# self . refanging_transform_type = attr_dict . get ( 'refanging_transform_type' ) #NEWLINE# self . refanging_transform = attr_dict . get ( 'refanging_transform' ) #NEWLINE# self . observed_encoding = attr_dict . get ( 'observed_encoding' ) #NEWLINE# PatternFieldGroup . from_dict ( attr_dict , self )