| 36 | |
| 37 | |
| 38 | class Effects(stix.EntityList): |
| 39 | _namespace = "http://docs.oasis-open.org/cti/ns/stix/incident-1" |
| 40 | _binding = incident_binding |
| 41 | _binding_class = _binding.EffectsType |
| 42 | |
| 43 | effects = VocabField("Effect", VocabString, multiple=True, key_name="effects") |
| 44 | |
| 45 | @classmethod |
| 46 | def _dict_as_list(cls): |
| 47 | return True |
| 48 | |
| 49 | def _fix_value(self, value): |
| 50 | return vocabs.IncidentEffect(value=value) |