<s> from mixbox import entities <EOL> from mixbox import fields <EOL> import cybox . bindings . cybox_core as core_binding <EOL> from cybox . common import vocabs , StructuredText , MeasureSource <EOL> from cybox . common . vocabs import EventType <EOL> from cybox . core import Actions , Frequency <EOL> class Event ( entities . Entity ) : <EOL> _binding = core_binding <EOL> _binding_class = core_binding . EventType <EOL> _namespace = '<STR_LIT>' <EOL> id_ = fields . TypedField ( "<STR_LIT:id>" ) <EOL> idref = fields . TypedField ( "<STR_LIT>" ) <EOL> type_ = vocabs . VocabField ( "<STR_LIT>" , EventType ) <EOL> description = fields . TypedField ( "<STR_LIT>" , StructuredText ) <EOL> observation_method = fields . TypedField ( "<STR_LIT>" , MeasureSource ) <EOL> actions = fields . TypedField ( "<STR_LIT>" , Actions ) <EOL> frequency = fields . TypedField ( "<STR_LIT>" , Frequency ) <EOL> event = fields . TypedField ( "<STR_LIT>" , multiple = True ) <EOL> Event . event . type_ = Event </s>
