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.mutex_object as mutex_binding 7from cybox.common import ObjectProperties, String 8 9 10class Mutex(ObjectProperties): 11 _binding = mutex_binding 12 _binding_class = mutex_binding.MutexObjectType 13 _namespace = "http://cybox.mitre.org/objects#MutexObject-2" 14 _XSI_NS = "MutexObj" 15 _XSI_TYPE = "MutexObjectType" 16 17 named = fields.TypedField("named") 18 name = fields.TypedField("Name", String) 19