<s> import stix <EOL> import stix . bindings . incident as incident_binding <EOL> from . loss_estimation import LossEstimation <EOL> class TotalLossEstimation ( stix . Entity ) : <EOL> _namespace = "<STR_LIT>" <EOL> _binding = incident_binding <EOL> _binding_class = incident_binding . TotalLossEstimationType <EOL> def __init__ ( self ) : <EOL> super ( TotalLossEstimation , self ) . __init__ ( ) <EOL> self . initial_reported_total_loss_estimation = None <EOL> self . actual_total_loss_estimation = None <EOL> @ property <EOL> def initial_reported_total_loss_estimation ( self ) : <EOL> return self . _initial_reported_total_loss_estimation <EOL> @ initial_reported_total_loss_estimation . setter <EOL> def initial_reported_total_loss_estimation ( self , value ) : <EOL> self . _set_var ( LossEstimation , initial_reported_total_loss_estimation = value ) <EOL> @ property <EOL> def actual_total_loss_estimation ( self ) : <EOL> return self . _actual_total_loss_estimation <EOL> @ actual_total_loss_estimation . setter <EOL> def actual_total_loss_estimation ( self , value ) : <EOL> self . _set_var ( LossEstimation , actual_total_loss_estimation = value ) <EOL> def to_obj ( self , return_obj = None , ns_info = None ) : <EOL> super ( TotalLossEstimation , self ) . to_obj ( return_obj = return_obj , ns_info = ns_info ) <EOL> obj = self . _binding_class ( ) <EOL> if self . initial_reported_total_loss_estimation : <EOL> obj . Initial_Reported_Total_Loss_Estimation = self . initial_reported_total_loss_estimation . to_obj ( ns_info = ns_info ) <EOL> if self . actual_total_loss_estimation : <EOL> obj . Actual_Total_Loss_Estimation = self . actual_total_loss_estimation . 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 . initial_reported_total_loss_estimation = LossEstimation . from_obj ( obj . Initial_Reported_Total_Loss_Estimation ) <EOL> return_obj . actual_total_loss_estimation = LossEstimation . from_obj ( obj . Actual_Total_Loss_Estimation ) <EOL> return return_obj <EOL> def to_dict ( self ) : <EOL> return super ( TotalLossEstimation , 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 . initial_reported_total_loss_estimation = LossEstimation . from_dict ( dict_ . get ( '<STR_LIT>' ) ) <EOL> return_obj . actual_total_loss_estimation = LossEstimation . from_dict ( dict_ . get ( '<STR_LIT>' ) ) <EOL> return return_obj </s>
