| 41 | |
| 42 | |
| 43 | class GenericRelationship(stix.Entity): |
| 44 | _namespace = "http://docs.oasis-open.org/cti/ns/stix/common-1" |
| 45 | _binding = common_binding |
| 46 | _binding_class = common_binding.GenericRelationshipType |
| 47 | |
| 48 | confidence = fields.TypedField("Confidence", Confidence) |
| 49 | information_source = fields.TypedField("Information_Source", InformationSource) |
| 50 | relationship = VocabField("Relationship") |
| 51 | |
| 52 | def __init__(self, confidence=None, information_source=None, relationship=None): |
| 53 | super(GenericRelationship, self).__init__() |
| 54 | |
| 55 | self.confidence = confidence |
| 56 | self.information_source = information_source |
| 57 | self.relationship = relationship |
| 58 | |
| 59 | |
| 60 | class RelatedPackageRef(GenericRelationship): |