<s> import stix <EOL> import stix . bindings . incident as incident_binding <EOL> from stix . common import vocabs , VocabString <EOL> class IndirectImpactSummary ( stix . Entity ) : <EOL> _namespace = "<STR_LIT>" <EOL> _binding = incident_binding <EOL> _binding_class = incident_binding . IndirectImpactSummaryType <EOL> def __init__ ( self ) : <EOL> super ( IndirectImpactSummary , self ) . __init__ ( ) <EOL> self . loss_of_competitive_advantage = None <EOL> self . brand_and_market_damage = None <EOL> self . increased_operating_costs = None <EOL> self . legal_and_regulatory_costs = None <EOL> @ property <EOL> def loss_of_competitive_advantage ( self ) : <EOL> return self . _loss_of_competitive_advantage <EOL> @ loss_of_competitive_advantage . setter <EOL> def loss_of_competitive_advantage ( self , value ) : <EOL> self . _set_vocab ( vocabs . SecurityCompromise , loss_of_competitive_advantage = value ) <EOL> @ property <EOL> def brand_and_market_damage ( self ) : <EOL> return self . _brand_and_market_damage <EOL> @ brand_and_market_damage . setter <EOL> def brand_and_market_damage ( self , value ) : <EOL> self . _set_vocab ( vocabs . SecurityCompromise , brand_and_market_damage = value ) <EOL> @ property <EOL> def increased_operating_costs ( self ) : <EOL> return self . _increased_operating_costs <EOL> @ increased_operating_costs . setter <EOL> def increased_operating_costs ( self , value ) : <EOL> self . _set_vocab ( vocabs . SecurityCompromise , increased_operating_costs = value ) <EOL> @ property <EOL> def legal_and_regulatory_costs ( self ) : <EOL> return self . _legal_and_regulatory_costs <EOL> @ legal_and_regulatory_costs . setter <EOL> def legal_and_regulatory_costs ( self , value ) : <EOL> self . _set_vocab ( vocabs . SecurityCompromise , legal_and_regulatory_costs = value ) <EOL> def to_obj ( self , return_obj = None , ns_info = None ) : <EOL> super ( IndirectImpactSummary , self ) . to_obj ( return_obj = return_obj , ns_info = ns_info ) <EOL> obj = self . _binding_class ( ) <EOL> if self . loss_of_competitive_advantage : <EOL> obj . Loss_Of_Competitive_Advantage = self . loss_of_competitive_advantage . to_obj ( ns_info = ns_info ) <EOL> if self . brand_and_market_damage : <EOL> obj . Brand_And_Market_Damage = self . brand_and_market_damage . to_obj ( ns_info = ns_info ) <EOL> if self . increased_operating_costs : <EOL> obj . Increased_Operating_Costs = self . increased_operating_costs . to_obj ( ns_info = ns_info ) <EOL> if self . legal_and_regulatory_costs : <EOL> obj . Legal_And_Regulatory_Costs = self . legal_and_regulatory_costs . to_obj ( ns_info = ns_info ) <EOL> return obj <EOL> @ classmethod <EOL> def from_obj ( cls , obj , return_obj = None ) : <EOL> if not obj : <EOL> return None <EOL> if not return_obj : <EOL> return_obj = cls ( ) <EOL> return_obj . loss_of_competitive_advantage = VocabString . from_obj ( obj . Loss_Of_Competitive_Advantage ) <EOL> return_obj . brand_and_market_damage = VocabString . from_obj ( obj . Brand_And_Market_Damage ) <EOL> return_obj . increased_operating_costs = VocabString . from_obj ( obj . Increased_Operating_Costs ) <EOL> return_obj . legal_and_regulatory_costs = VocabString . from_obj ( obj . Legal_And_Regulatory_Costs ) <EOL> return return_obj <EOL> def to_dict ( self ) : <EOL> return super ( IndirectImpactSummary , self ) . to_dict ( ) <EOL> @ classmethod <EOL> def from_dict ( cls , dict_ , return_obj = None ) : <EOL> if not dict_ : <EOL> return None <EOL> if not return_obj : <EOL> return_obj = cls ( ) <EOL> return_obj . loss_of_competitive_advantage = VocabString . from_dict ( dict_ . get ( '<STR_LIT>' ) ) <EOL> return_obj . brand_and_market_damage = VocabString . from_dict ( dict_ . get ( '<STR_LIT>' ) ) <EOL> return_obj . increased_operating_costs = VocabString . from_dict ( dict_ . get ( '<STR_LIT>' ) ) <EOL> return_obj . legal_and_regulatory_costs = VocabString . from_dict ( dict_ . get ( '<STR_LIT>' ) ) <EOL> return return_obj </s>
