**DEPRECATED**. Adds :class:`.VocabString` object to the :attr:`package_intents` collection. If the input is not an instance of :class:`.VocabString`, an effort will be made to convert it into an instance of :class:`.PackageIntent`.
(self, package_intent)
| 122 | |
| 123 | |
| 124 | def add_package_intent(self, package_intent): |
| 125 | """**DEPRECATED**. Adds :class:`.VocabString` object to the |
| 126 | :attr:`package_intents` collection. |
| 127 | |
| 128 | If the input is not an instance of :class:`.VocabString`, an effort |
| 129 | will be made to convert it into an instance of :class:`.PackageIntent`. |
| 130 | |
| 131 | """ |
| 132 | deprecated.warn(package_intent) |
| 133 | self.package_intents.append(package_intent) |
| 134 | |
| 135 | def add_profile(self, profile): |
| 136 | """Adds a profile to the STIX Header. A Profile is represented by a |