<s> import stix <EOL> from stix . utils . deprecated import idref_deprecated <EOL> from stix . campaign import Campaign <EOL> from stix . coa import CourseOfAction <EOL> from stix . exploit_target import ExploitTarget <EOL> from stix . indicator import Indicator <EOL> from stix . incident import Incident <EOL> from stix . report import Report <EOL> from stix . threat_actor import ThreatActor <EOL> from stix . bindings import stix_core as stix_core_binding <EOL> from stix . bindings import stix_common as stix_common_binding <EOL> class Campaigns ( stix . EntityList ) : <EOL> _binding = stix_core_binding <EOL> _namespace = '<STR_LIT>' <EOL> _binding_class = _binding . CampaignsType <EOL> _contained_type = Campaign <EOL> _binding_var = "<STR_LIT>" <EOL> _inner_name = "<STR_LIT>" <EOL> _dict_as_list = True <EOL> def _is_valid ( self , value ) : <EOL> idref_deprecated ( value ) <EOL> return stix . EntityList . _is_valid ( self , value ) <EOL> class CoursesOfAction ( stix . EntityList ) : <EOL> _binding = stix_core_binding <EOL> _namespace = '<STR_LIT>' <EOL> _binding_class = _binding . CoursesOfActionType <EOL> _contained_type = CourseOfAction <EOL> _binding_var = "<STR_LIT>" <EOL> _inner_name = "<STR_LIT>" <EOL> _dict_as_list = True <EOL> def _is_valid ( self , value ) : <EOL> idref_deprecated ( value ) <EOL> return stix . EntityList . _is_valid ( self , value ) <EOL> class ExploitTargets ( stix . EntityList ) : <EOL> _binding = stix_common_binding <EOL> _namespace = '<STR_LIT>' <EOL> _binding_class = _binding . ExploitTargetsType <EOL> _contained_type = ExploitTarget <EOL> _binding_var = "<STR_LIT>" <EOL> _inner_name = "<STR_LIT>" <EOL> _dict_as_list = True <EOL> def _is_valid ( self , value ) : <EOL> idref_deprecated ( value ) <EOL> return stix . EntityList . _is_valid ( self , value ) <EOL> class Incidents ( stix . EntityList ) : <EOL> _binding = stix_core_binding <EOL> _namespace = '<STR_LIT>' <EOL> _binding_class = _binding . IncidentsType <EOL> _contained_type = Incident <EOL> _binding_var = "<STR_LIT>" <EOL> _inner_name = "<STR_LIT>" <EOL> _dict_as_list = True <EOL> def _is_valid ( self , value ) : <EOL> idref_deprecated ( value ) <EOL> return stix . EntityList . _is_valid ( self , value ) <EOL> class Indicators ( stix . EntityList ) : <EOL> _binding = stix_core_binding <EOL> _namespace = '<STR_LIT>' <EOL> _binding_class = _binding . IndicatorsType <EOL> _contained_type = Indicator <EOL> _binding_var = "<STR_LIT>" <EOL> _inner_name = "<STR_LIT>" <EOL> _dict_as_list = True <EOL> def _is_valid ( self , value ) : <EOL> idref_deprecated ( value ) <EOL> return stix . EntityList . _is_valid ( self , value ) <EOL> class ThreatActors ( stix . EntityList ) : <EOL> _binding = stix_core_binding <EOL> _namespace = '<STR_LIT>' <EOL> _binding_class = _binding . ThreatActorsType <EOL> _contained_type = ThreatActor <EOL> _binding_var = "<STR_LIT>" <EOL> _inner_name = "<STR_LIT>" <EOL> _dict_as_list = True <EOL> def _is_valid ( self , value ) : <EOL> idref_deprecated ( value ) <EOL> return stix . EntityList . _is_valid ( self , value ) <EOL> class Reports ( stix . EntityList ) : <EOL> _binding = stix_core_binding <EOL> _namespace = '<STR_LIT>' <EOL> _binding_class = _binding . ReportsType <EOL> _contained_type = Report <EOL> _binding_var = "<STR_LIT>" <EOL> _inner_name = "<STR_LIT>" <EOL> _dict_as_list = True <EOL> def _is_valid ( self , value ) : <EOL> idref_deprecated ( value ) <EOL> return stix . EntityList . _is_valid ( self , value ) <EOL> from stix_package import STIXPackage <EOL> from stix_header import STIXHeader </s>
