1# Copyright (c) 2017, The MITRE Corporation. All rights reserved. 2# See LICENSE.txt for complete terms. 3 4from mixbox import fields 5 6import cybox.bindings.custom_object as custom_binding 7from cybox.common import ObjectProperties, StructuredText 8 9 10class Custom(ObjectProperties): 11 _binding = custom_binding 12 _binding_class = custom_binding.CustomObjectType 13 _namespace = "http://cybox.mitre.org/objects#CustomObject-1" 14 _XSI_NS = "CustomObj" 15 _XSI_TYPE = "CustomObjectType" 16 17 custom_name = fields.TypedField("custom_name") 18 description = fields.TypedField("Description", StructuredText) 19