Adds an valid time position to the ``valid_time_positions`` property list. If `value` is ``None``, no item is added to the ``value_time_positions`` list. Args: value: An instance of :class:`stix.indicator.valid_time.ValidTime`. Raises:
(self, value)
| 367 | self.alternative_id.append(value) |
| 368 | |
| 369 | def add_valid_time_position(self, value): |
| 370 | """Adds an valid time position to the ``valid_time_positions`` property |
| 371 | list. |
| 372 | |
| 373 | If `value` is ``None``, no item is added to the ``value_time_positions`` |
| 374 | list. |
| 375 | |
| 376 | Args: |
| 377 | value: An instance of :class:`stix.indicator.valid_time.ValidTime`. |
| 378 | |
| 379 | Raises: |
| 380 | ValueError: If the `value` argument is not an instance of |
| 381 | :class:`stix.indicator.valid_time.ValidTime`. |
| 382 | |
| 383 | """ |
| 384 | self.valid_time_positions.append(value) |
| 385 | |
| 386 | def add_indicator_type(self, value): |
| 387 | """Adds a value to the ``indicator_types`` list property. |
no outgoing calls